Skip to content

Commit 2ae752e

Browse files
authored
Prepare for 3.0.2 release (#1898)
1 parent 1a41c4d commit 2ae752e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This plugin should be applied anywhere the `com.android.application` or `com.and
4444
// in build.grade.kts for convention plugin build
4545
dependencies {
4646
// ...
47-
implementation("org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin:3.0.1")
47+
implementation("org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin:3.0.2")
4848
// ...
4949
}
5050

@@ -65,7 +65,7 @@ plugins {
6565
// in build.grade for convention plugin build
6666
dependencies {
6767
// ...
68-
implementation("org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin:3.0.1")
68+
implementation("org.gradle.android.cache-fix:org.gradle.android.cache-fix.gradle.plugin:3.0.2")
6969
// ...
7070
}
7171
@@ -79,16 +79,15 @@ plugins {
7979

8080
</details>
8181

82-
If you are not using convention plugins and would like a quick way of testing the plugin you can alternatively place it in the root project's build.gradle (change '3.0.1' to the latest version of the cache fix plugin
83-
[here](https://plugins.gradle.org/plugin/org.gradle.android.cache-fix)). We discourage this approach because it uses [cross project configuration](https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration).
82+
If you are not using convention plugins and would like a quick way of testing the plugin you can alternatively place it in the root project's build.gradle. We discourage this approach because it uses [cross project configuration](https://docs.gradle.org/current/userguide/sharing_build_logic_between_subprojects.html#sec:convention_plugins_vs_cross_configuration).
8483

8584
<details open>
8685
<summary>Kotlin</summary>
8786
<br>
8887

8988
```kotlin
9089
plugins {
91-
id("org.gradle.android.cache-fix") version "3.0.1" apply false
90+
id("org.gradle.android.cache-fix") version "3.0.2" apply false
9291
}
9392

9493
subprojects {
@@ -105,7 +104,7 @@ subprojects {
105104

106105
```groovy
107106
plugins {
108-
id "org.gradle.android.cache-fix" version "3.0.1" apply false
107+
id "org.gradle.android.cache-fix" version "3.0.2" apply false
109108
}
110109
111110
subprojects {

release/changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- [NEW] - JdkImageWorkaround: uses the Variant API on AGP ≥ 9.0.0-alpha06, falls back to legacy APIs on earlier versions

src/main/groovy/org/gradle/android/workarounds/JdkImageWorkaround.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class JdkImageWorkaround implements Workaround {
6161
// runtime configuration before querying (and instantiating) task configurations.
6262
applyRuntimeClasspathNormalization(project)
6363

64-
if (Versions.CURRENT_ANDROID_VERSION < VersionNumber.parse("9.0.0-alpha04")) {
64+
if (Versions.CURRENT_ANDROID_VERSION < VersionNumber.parse("9.0.0-alpha06")) {
6565
applyToAllAndroidVariantsLegacy(project) { variant ->
6666
variant.javaCompileProvider.configure { JavaCompile task ->
6767
jdkTransform(project, task)

0 commit comments

Comments
 (0)