Skip to content

Commit cc221cc

Browse files
authored
Merge pull request #96 from gradle/runningcode/4.1
Update to 4.1.0-beta01
2 parents 571f106 + 112f06b commit cc221cc

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Some Android plugin versions have issues with Gradle's build cache feature. When applied to an Android project this plugin applies workarounds for these issues based on the Android plugin and Gradle versions.
66

77
* Supported Gradle versions: 5.4.1+
8-
* Supported Android versions: 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 4.0
8+
* Supported Android versions: 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 4.0, 4.1-beta01
99
* Supported Kotlin versions: 1.3.70+
1010

1111
## Applying the plugin

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ version = ["git", "describe", "--match", "[0-9]*", "--dirty"].execute().text.tri
2323
// Maps supported Android plugin versions to the versions of Gradle that support it
2424
def supportedVersions = [
2525
// 4.1.0-alpha10 is *only* compatible with milestone 1
26-
"4.1.0-alpha10": ["6.5-milestone-1"],
26+
"4.1.0-beta01": ["6.5"],
2727
"4.0.0": ["6.1.1", "6.3", "6.4.1"],
2828
"3.6.3": ["5.6.4", "6.3", "6.4.1"],
2929
"3.6.2": ["5.6.4"],

src/test/groovy/org/gradle/android/CrossVersionOutcomeAndRelocationTest.groovy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ class CrossVersionOutcomeAndRelocationTest extends AbstractTest {
251251
builder.expect(':app:preBuild', UP_TO_DATE)
252252
builder.expect(':app:preDebugBuild', UP_TO_DATE)
253253
builder.expect(':app:preReleaseBuild', UP_TO_DATE)
254-
builder.expect(':app:prepareLintJar', SUCCESS)
255254
builder.expect(':app:processDebugJavaRes', NO_SOURCE)
256255
builder.expect(':app:processDebugManifest', FROM_CACHE)
257256
builder.expect(':app:processReleaseJavaRes', NO_SOURCE)
@@ -365,6 +364,7 @@ class CrossVersionOutcomeAndRelocationTest extends AbstractTest {
365364
builder.expect(':library:generateDebugSources', SUCCESS)
366365
builder.expect(':library:generateReleaseSources', SUCCESS)
367366
builder.expect(':library:prepareLintJar', SUCCESS)
367+
builder.expect(':app:prepareLintJar', SUCCESS)
368368
}
369369

370370
static void android35xOnlyExpectations(ExpectedOutcomeBuilder builder) {
@@ -463,6 +463,10 @@ class CrossVersionOutcomeAndRelocationTest extends AbstractTest {
463463
builder.expect(':app:compressReleaseAssets', FROM_CACHE)
464464
builder.expect(':app:mergeDebugNativeDebugMetadata', NO_SOURCE)
465465
builder.expect(':app:mergeReleaseNativeDebugMetadata', NO_SOURCE)
466+
builder.expect(':app:checkDebugAarMetadata', FROM_CACHE)
467+
builder.expect(':app:checkReleaseAarMetadata', FROM_CACHE)
468+
builder.expect(':library:writeDebugAarMetadata', FROM_CACHE)
469+
builder.expect(':library:writeReleaseAarMetadata', FROM_CACHE)
466470
}
467471

468472
static void android40xOnlyExpectations(ExpectedOutcomeBuilder builder) {

src/test/groovy/org/gradle/android/PluginApplicationTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PluginApplicationTest extends AbstractTest {
2323
result.output =~ /Android plugin ${quote(androidVersion)} is not supported by Android cache fix plugin. Supported Android plugin versions: .*. Override with -Dorg.gradle.android.cache-fix.ignoreVersionCheck=true./
2424

2525
where:
26-
androidVersion << ["3.4.1"] // TODO https://github.com/gradle/android-cache-fix-gradle-plugin/issues/95 Add 4.2.x when released.
26+
androidVersion << ["3.4.1", "4.2.0-alpha01"]
2727

2828
}
2929

0 commit comments

Comments
 (0)