34 Commits

Author SHA1 Message Date
ibaker
37aaef0b32 Upgrade to Gradle 8.10.2 and AGP 8.8.1
This resolves the jacoco log spam when running Robolectric tests on
JDK 21, and therefore unblocks bumping our Java language level to 21.

PiperOrigin-RevId: 731297393
2025-02-26 06:45:57 -08:00
tonihei
16df05ec29 Upgrade Gradle and AGP
The newer versions include a bugfix that automatically highlights
when our project requires enhanced Java 8 desugaring.

Issue: androidx/media#1312
PiperOrigin-RevId: 631373018
2024-05-07 04:20:55 -07:00
ibaker
485517f34d Upgrade to Gradle 8.0 and Android Gradle Plugin 8.0.1
This change was auto-generated by the Android Studio Upgrade Assistant.

Issue: androidx/media#409
PiperOrigin-RevId: 533467455
2023-05-19 17:24:28 +01:00
ibaker
3ba9d7e125 Update the Gradle Wrapper and Android Gradle Plugin
The current verion of AGP warns it doesn't support Android API 32 [1].

The wrapper was upgraded with ([instructions](https://docs.gradle.org/current/userguide/gradle_wrapper.html#sec:upgrading_wrapper)):
```shell
$ ./gradlew wrapper --gradle-version 7.4.2 --distribution-type all
```

[1]
```
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 32

This Android Gradle plugin (7.0.3) was tested up to compileSdk = 31

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=32
    to this project's gradle.properties

    The build will continue, but you are strongly encouraged to update your project to
    use a newer Android Gradle Plugin that has been tested with compileSdk = 32
```

#minor-release

PiperOrigin-RevId: 451893214
2022-05-30 20:37:12 +00:00
ibaker
92af42bf25 Update the gradle wrapper scripts
Generated by running:
./gradlew wrapper --gradle-version 7.4 --distribution-type all

#minor-release

PiperOrigin-RevId: 430666317
2022-03-01 09:34:07 +00:00
ibaker
e8096f07b9 Update gradle wrapper to 7.4
#minor-release

PiperOrigin-RevId: 430454251
2022-02-23 16:21:30 +00:00
huangdarwin
f33dff64d6 Rollback of 2848240a8c
*** Original commit ***

Update gradle wrapper

To fix transformer demo + Nexus emulator bug.

#minor-release

***

PiperOrigin-RevId: 427952642
2022-02-17 10:20:08 +00:00
huangdarwin
45cbfd2977 Update gradle wrapper
To fix transformer demo + Nexus emulator bug.

#minor-release

PiperOrigin-RevId: 425603703
2022-02-01 14:35:50 +00:00
bachinger
e4cfb925cb Update gradle and gradle plugin
#minor-release

PiperOrigin-RevId: 425589448
2022-02-01 14:33:36 +00:00
olly
bdff0d9374 Upgrade to gradle 7.0.2
PiperOrigin-RevId: 388929850
2021-08-06 15:57:25 +01:00
olly
dea52048cb Bump dependency versions
PiperOrigin-RevId: 382277352
2021-06-30 13:53:01 +01:00
krocard
f4f312738b Update to Gradle plugin 4.1
Some usage of += had to be changed to use .add
because GString can be implitly converted to String
and back, but it is not the case for List<GString>
and List<String>.

PiperOrigin-RevId: 368416727
2021-04-15 10:51:16 +01:00
krocard
27d729f8c5 Rollback of 91b595bd27
*** Original commit ***

Update Gradle version to 4.1.1

This was suggested by AndroidStudio.

***

PiperOrigin-RevId: 353887400
2021-02-01 18:09:55 +00:00
krocard
91b595bd27 Update Gradle version to 4.1.1
This was suggested by AndroidStudio.

PiperOrigin-RevId: 353879939
2021-02-01 18:09:45 +00:00
tonihei
7ac024afba Update Gradle plugins.
PiperOrigin-RevId: 309231983
2020-05-01 19:48:32 +01:00
tonihei
05443d1e9e Upgrade gradle plugin to 3.6.0
PiperOrigin-RevId: 298844826
2020-03-10 10:19:11 +00:00
krocard
58cb7d29ca Update Gradle version
PiperOrigin-RevId: 273971120
2019-10-10 18:55:43 +01:00
tonihei
b4420f61d1 Update gradle plugin.
This also removes the build warning about the experimental flag.

PiperOrigin-RevId: 245218251
2019-04-26 18:32:04 +01:00
olly
8401097ead Upgrade gradle plugin and friends
PiperOrigin-RevId: 233390513
2019-02-18 15:57:55 +00:00
hoangtc
13592dfb53 Update Gradle version from 4.1 to 4.4
In Gradle 4.4, it is a bug to resolve a configuration before the lint task is
created ([see [] Therefore, to upgrade
gradle version, we need to change the "generateJavadoc" task to remove using
files() call during initialization phase, but change move this to doFirst()
instead.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=190634090
2018-03-28 01:00:17 +01:00
andrewlewis
234d611175 Automated g4 rollback of changelist 189153913.
*** Reason for rollback ***

This is breaking gradle sync with an error "Error:Cannot create variant 'android-lint' after configuration ':exo-library-core:debugRuntimeElements' has been resolved".

*** Original change description ***

Upgrade bintray-release and gradle versions

***

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189171139
2018-03-27 23:54:45 +01:00
olly
405d39b518 Upgrade bintray-release and gradle versions
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189153913
2018-03-27 23:47:32 +01:00
olly
a90cef0cb5 Upgrade gradle plugin / wrapper
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=167579719
2017-09-05 16:47:38 +01:00
olly
ecc8f6c4fa Upgrade dependencies
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=161648060
2017-07-12 18:23:11 +01:00
olly
343a7302bd Update gradle version
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149941369
2017-03-13 15:54:10 +00:00
olly
790e5fd2a1 Update gradle wrapper
Code coverage is disabled in V2 to workaround
https://code.google.com/p/android/issues/detail?id=226070

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137032839
2016-10-24 18:42:37 +01:00
olly
a7d5f4b069 Automated rollback of "Upgrade gradle to 2.14.1"
*** Reason for rollback ***

2.14.1 not compatible with 2.1.2. Oops.

*** Original change description ***

Upgrade gradle to 2.14.1

***

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133939282
2016-09-28 11:25:11 +01:00
olly
06b96bfa8e Upgrade gradle to 2.14.1
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133938559
2016-09-28 11:25:11 +01:00
olly
c54169c192 Move back to gradle version + plugin that doesn't hang.
New version hangs when running:
./gradlew :library:assembleAndroidTest --debug

Android Studio "strongly recommends" we upgrade to the
hanging version, but I guess we'll just have to ignore
that until the latest version works again!

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132063280
2016-09-02 16:21:24 +01:00
olly
894376fbe6 Fix third_party Android Studio / Gradle config
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=131931329
2016-09-02 16:13:41 +01:00
olly
c08c5b6f4c Increase gradle version to 2.10 and Android Plugin for Gradle to 1.5.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117226973
2016-06-15 19:37:45 +01:00
Sebastian Roth
e4ea9c1056 Include gradle plugin 1.0.0 2014-12-22 10:34:46 +08:00
Andrew Shu
5447081d17 gradle: 2.2.1-rc-1 wrapper jar and distribution url 2014-11-20 12:18:13 -08:00
Oliver Woodman
27ab5c83a6 Initial drop. 1.0.10. 2014-06-16 12:56:04 +01:00