summaryrefslogtreecommitdiff
path: root/templates/base/_MODULE_/build.gradle.ftl
AgeCommit message (Collapse)Author
2019-07-12Fix gradle versions.Jeremy Walker
Bug: 137389675 Test: Manually tested. Change-Id: Id3bf8e15a0fda711f33f21ec38427ad1672a71ab
2019-04-01Update all Wear sample templates for conversion to new devrel repo.Jeremy Walker
Bug: 129548613 Test: Manually tested. Change-Id: Ic70dca96fa4c1c67201c555e66c8e7720b9f78df
2019-01-16Update to AGP 3.3.0Yuichi Araki
Bug: 122926695 Test: './gradlew assembleDebug' in every project Change-Id: Ifb49b495bc56f9c4e847d2889eca338f5f12bcee
2019-01-16Update sample templatepie-b4s4-devYuichi Araki
- Use AGP 28.0.3. - Remove 'wrapper' because it conflicts with a built-in function. - Add <annotationProcessor> as some samples need it. Test: './gradlew preflight && assembleDebug' in all projects Bug: 122916118 Change-Id: I07fc6db4efd703a1778933b6ec333401fede5344
2019-01-10Updates support library, target version, gradle version, etc.Jeremy Walker
Bug: 122663396 Test: Manually tested. Change-Id: I9eddce5dc53a0dd38f138bc863da2dd314b0cb3c
2019-01-09Merge changes from topic "sample_template_update" into pi-devTreeHugger Robot
* changes: Fix formatting of dependencies in build.gradle.ftl Fix repository ordering for freemarker templates
2018-12-19Update version of Gradle pluginNicole Borrelli
This updates the gradle plugin version of samples using the base plugin from 3.2.0-beta01 to 3.2.1. Bug: 117822353 Test: manual (./gradlew refresh with effected project) Change-Id: I76b850947cdfc4f233b9ebf7b6f81e8a82f8cdc2
2018-10-09Fix repository ordering for freemarker templatesBen Weiss
Bug: 117481637 Test: Built locally Change-Id: I5b4085c9afc9f2b1c1d218cb364f88cee2345a8c
2018-06-28Temp androidX support fix.Jeremy Walker
Bug: 110369130 Test: Manually tested. Change-Id: I63710ea847b9913f795632d8e8e0e90b27c3b739
2018-06-18Update support, gms, etc versions.Jeremy Walker
Bug: 110369130 Test: Manually tested. Change-Id: I067f62fc2331b652a8b9d1dca70eb0376fdfdee6
2018-03-22Updates support and wear support lib to latest versions.Jeremy Walker
Bug: 74427990 Change-Id: Ic13415d1c84f19b529c13148e29e9edd90520a8a Test: Manually tested changes.
2018-01-24Wearable support lib 2.2 and swap in google() plus minor spacing fix.Jeremy Walker
Bug: 72318935 Test: Manually tested with all Wear sample apps. Change-Id: Ifd4815212d1173a21ab82a34b95dd609f05dc922
2017-12-15Updates GMS core and support libs to versions for 12/18 release.Jeremy Walker
Bug: 69681892 Test: Manually tested. Change-Id: I6a3f7cd59aebca4c5bf41fe77410e53e409b0632
2017-11-07Updates build script for Android 3.0.Jeremy Walker
Bug: 68863906 Test: Manually tested Wear devices. Change-Id: I4c875a6d5faaac0180d9876999de54b701cf1d5e
2017-09-20Update versions for O/v26 support lib.Nicole Borrelli
Bug: 65980008 Test: Manually verified with samples/android/media/MediaBrowserService Change-Id: Ibc63203a51cf1a7c80e9d4ecbe6950a14e8155fe
2017-08-02Updates all templates to use the latest version of gradle and addsJeremy Walker
support for multiDexEnabled, specifying compile version, and updates repositories code. Test: Manually tested across wear samples. Change-Id: Icccbbba2c1832b46974b85b2bd1f568860497143
2017-06-02Update support librarys and gradle to latest versions.oreo-devJeremy Walker
Bug: 62249372 Change-Id: I5c10e177305e620e46d6a317b5883048bb90b1fd Test: Script changed versioning, manually tested all Wear samples impacted by change.
2016-12-13Update dependency versions for 2016-12 releaseTrevor Johns
- Set targetSDK to 25 - Gradle plugin 2.2.3 - Build tools 25.0.2 - Support library 25.0.1 - Play Services 10.0.1 Merge from nyc-mr1-dev to master. Conflicts: templates/base/_MODULE_/build.gradle.ftl templates/create/_MODULE_/build.gradle.ftl Change-Id: Ib4768c08fa73925ad83d37240e6a282202a00952
2016-09-28Update build tools versionYuichi Araki
Change-Id: I1aa92c596f0d84d1ef47dd3ce567fe6b4faa6362
2016-09-23Update gradle build and support library.Jeremy Walker
Change-Id: Ib53bec47d04b8c384e7b9c414c725f6d93eeab33
2016-08-11samples: Change support lib version to 24.1.1Trevor Johns
Replacing 24.0.0-beta1 with 24.1.1. Change-Id: Id9834668b1f6d8fa7c9aad703c47fa007eb44395
2016-06-14Update sample dependency versions for Android DP4Trevor Johns
Change-Id: Iaa9bfd165c644d740fddecaaf1c13ba046d6ba6f
2016-05-17Resolve merge conflicts of 46a3aa4 to nyc-devTrevor Johns
Change-Id: Ideb694b39fdb45eb77754103fc61fc6203f1f243
2016-05-17Update Android Gradle plugin to v2.1.0Trevor Johns
Change-Id: I00e385e24f96e4f4acbc07149c4bba323a61a533
2016-04-21Revert Gradle plugin version to 2.0.0Trevor Johns
Beta versions have expiration windows, which isn't suitable for public release. Change-Id: If94e5e7c91ec11ed813c09fcd484566a5171a9dd
2016-04-11Resolve merge conflicts of 87a70a1 to nyc-devTrevor Johns
Using 'git merge -X ours' to accept downstream changes.
2016-03-08Fix build issues with Android samples for N PreviewTrevor Johns
- Updated plugin version to v2.1.0-alpha1 - Reverted Java compatibility level to 1.7 Change-Id: Idc0424d2ec81ba41589ba20af41e7583d2efc6ae
2016-03-08Updating dependencies for N Developer PreviewTrevor Johns
- Update gradle dependencies - Update build tools version - Use Java 8 Change-Id: I130bc043a81b22c3fad6c16b3fb63eaaf6e868ac
2016-02-05Update the version number for support libraries from 23.1.0 to 23.1.1.Takeshi Hagikura
Change-Id: I7e2f875a22ef1bbf93733a3a26f399823ef6d0dd
2015-11-04Remove refresh task from build dependency chainTrevor Johns
This was causing an assertion error in the Android IntelliJ plugin due to build files being rewritten while a Gradle Sync was in-flight (which is triggered whenever a build occurs). Change-Id: Ia6d8d408da0073c24e543b097df00bd85c4cb3e0
2015-10-26Adds extra variable so users can target the wear build differentlyJeremy Walker
than the phone build. This is very important for 23 release on the phone (won't be out on wear until Jan). Also, I updated the GMS version. Change-Id: Id8816b1dcf2a389b1a9688e1b90550deb2e5b73d
2015-10-19Update support library from 23.0.0 to 23.0.1Jeremy Walker
Change-Id: I7116f72e2c60419f3f641a88bf3aad2cb1ac6858
2015-08-20Rollback theme changes from commit b4bbf96aeaTrevor Johns
This was causing problems for many samples because we didn't have appcompat dependencies in place. Also needs more testing to ensure we don't have any samples with minSdk < 7 or other incompatibilities. Change-Id: I385018b2190a2503734acb62ea8ceff8efce2935
2015-08-20Add appcompat dep to base templateandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-releaseTrevor Johns
Fixed build error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.AppCompat.Light'. Change-Id: I96543336d591b0d15c4b5fba5b68d7993967cc28
2015-08-14Update dependency versions for 23.0.0 libs releaseTrevor Johns
Use the following dependencies for samples: - Build Tools v23.0.0 - Support Lib v23.0.0 Change-Id: I5a8b6b99483ad0c6e9e20e35640e3f0c85243a5a
2015-08-14Update base template dependencies to v23.Jan-Felix Schmakeit
Change-Id: I08a855e6c1df74a4c1ee53d8a28a2c9abf3dcb7d
2015-06-22Bumping the sample gradle build tools to 1.2.0Max Nash
This fixes some build flakiness: see http://stackoverflow.com/questions/29026024/errorexecution-failed-for-task-projectnamemergedebugresources-crunching Change-Id: I92fd6dc7abfcdca4106c54b001c8e5f232bfb446 Tested: Built all samples.
2015-05-27Fix compileSdkVersion error in _MODULE_/build.gradle.ftlTrevor Johns
Template change were causing generation to fail when a compileSdkVersion flag wasn't set in the template-params.xml. Change-Id: I640577cdf2dff7559040e94d3cd17a790a3f7302
2015-05-27Add support for targetSdkVersion definition in templates.Jan-Felix Schmakeit
Continue to use the compileSdkVersion if the target sdk has not been specified. Change-Id: I946d05c958302934735d3b7f333d9ec5672fadbb
2015-05-12Support samples using centrally managed play services version numberAdam Koch
Change-Id: Idfec75a5d02c46ebb875e1e8b51078b1a2023cd6
2015-05-01Use Java 1.7 for the default source and target compatibilityTakeshi Hagikura
Change-Id: Ie1b0335de1926f4949aa195d97437b38616bb04c
2015-03-11Base template: Enable Wear dependencies when has_handheld_app=trueTrevor Johns
Also cleaned repositories{} block. Change-Id: I5811912c6c508c8af7d55f983757357c3ab21e1a
2014-12-09Merge "Update dependencies to use absolute versions" into lmp-docsTrevor Johns
2014-12-08Update dependencies to use absolute versionsTrevor Johns
Per advice from build team, removing '+' notation from build dependencies. This removes the requirement on having an internet connection during builds, and reduces the risk of accidental breakage when dependencies are updated. Change-Id: Ief8244d03bf5ec2cdf00f58957c1d393158f7450
2014-12-08Change Android Build Tools version to 1.0.0Trevor Johns
Incrementing from old 1.0.0-rc1 version, in response to Android Studio 1.0 release. Change-Id: Ia7ac4fd9aa588505b730b14cb50dc3b1ad9bd261
2014-12-02Update build dependencies for Android Studio 1.0 RC1Trevor Johns
- Use Gradle version v2.2.1 - Use Android Gradle plugin v1.0.0-rc1 - Use Build Tools v21.1.1 Change-Id: I1f64489a26f7e80f9473ca9536f2bd92e9d3496f
2014-11-26Add jcenter() repository for dependencies DO NOT MERGEChris Banes
Change-Id: I20a446943e85f52d3cf136ba9cc687bb4d0c37bc (cherry picked from commit b079cea46a1fbaf1cb084f206fa66795fe74fc5f)
2014-10-15Update CardView template for Material Design.Jan-Felix Schmakeit
Replace custom card-like background with a CardView. Update text styling and colors. Change-Id: Ifd17ec1c979d6acda4395dbef847f583e47a554e
2014-10-14Add defaultConfig block to build.gradleTrevor Johns
Manage the minSdkVeresion and targetSdkVersion through template-params.xml. This is propogated to a defaultConfig block in build.gradle, which is merged into AndroidManifest.xml as part of the Android build process. Change-Id: I3ba37367221db322fb5fac5998397a9ae2eafbdc
2014-10-13Update templates for official L SDK releaseTrevor Johns
- Set compileSdkVersion to "android-21" - Set buildToolsVersion to "21.0.0" - Make sure buildToolsVersion uses setting from common.ftl - Fix logic in auto support library rules to detect numeric/non-numeric input properly Change-Id: I39323449a68b356ddc7deefea0fcd808ce861756