Skip to content

Commit 00e7dbd

Browse files
authored
Merge pull request #72 from gradle/lptr/support-android-3.2.0-beta01
Support Android 3.2.0-beta01
2 parents f1b690f + 6c6a4f3 commit 00e7dbd

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ version = ["git", "describe", "--match", "[0-9]*", "--dirty"].execute().text.tri
2222

2323
// Maps supported Android plugin versions to the versions of Gradle that support it
2424
def supportedVersions = [
25-
"3.2.0-alpha18": ["4.8.1"],
25+
"3.2.0-beta01": ["4.8.1"],
2626
"3.1.3": ["4.4.1", "4.5.1", "4.6", "4.7", "4.8.1"],
2727
"3.1.2": ["4.4.1"],
2828
"3.1.1": ["4.4.1"],

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class PluginApplicationTest extends AbstractTest {
5353
false | "3.1.2" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.1.2 or later, unless Android data binding is used."
5454
true | "3.1.3" | null
5555
false | "3.1.3" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.1.3 or later, unless Android data binding is used."
56-
true | "3.2.0-alpha18" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.2.0-alpha18 or later."
57-
false | "3.2.0-alpha18" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.2.0-alpha18 or later."
56+
true | "3.2.0-beta01" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.2.0-beta01 or later."
57+
false | "3.2.0-beta01" | "WARNING: Android cache-fix plugin is not required for project ':library' when using Android plugin 3.2.0-beta01 or later."
5858
desc = message == null ? "does not print" : "prints"
5959
}
6060
}

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class RelocationTest extends AbstractTest {
8686

8787
private static ExpectedResults expectedResults(VersionNumber androidVersion, GradleVersion gradleVersion) {
8888
def isAndroid30x = androidVersion <= android("3.0.1")
89-
def isAndroid32x = androidVersion >= android("3.2.0-alpha18")
89+
def isAndroid32x = androidVersion >= android("3.2.0-beta01")
9090
def builder = ImmutableMap.<String, TaskOutcome>builder()
9191
builder.put(':app:assemble', SUCCESS)
9292
builder.put(':app:assembleDebug', SUCCESS)
@@ -177,8 +177,10 @@ class RelocationTest extends AbstractTest {
177177
builder.put(':library:assemble', SUCCESS)
178178
builder.put(':library:assembleDebug', SUCCESS)
179179
builder.put(':library:assembleRelease', SUCCESS)
180-
builder.put(':library:bundleDebug', SUCCESS)
181-
builder.put(':library:bundleRelease', SUCCESS)
180+
if (!isAndroid32x) {
181+
builder.put(':library:bundleDebug', SUCCESS)
182+
builder.put(':library:bundleRelease', SUCCESS)
183+
}
182184
builder.put(':library:checkDebugManifest', isAndroid30x
183185
? FROM_CACHE
184186
: SUCCESS)

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ class WorkaroundTest extends Specification {
4343
"3.2.0-alpha07" | ["DataBindingDependencyArtifacts"]
4444
"3.2.0-alpha09" | ["DataBindingDependencyArtifacts"]
4545
"3.2.0-alpha18" | []
46+
"3.2.0-beta01" | []
4647
}
4748
}

0 commit comments

Comments
 (0)