Skip to content

Commit b1a3a3f

Browse files
committed
Add support for AGP 7.2.0-alpha04
1 parent 5a1da96 commit b1a3a3f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def isCI = (System.getenv('CI') ?: 'false').toBoolean()
1717

1818
// Maps supported Android plugin versions to the versions of Gradle that support it
1919
def supportedVersions = [
20+
"7.2.0-alpha04": ["7.3"],
2021
"7.1.0-beta03": ["7.3"],
2122
"7.0.3": ["7.3"],
2223
"4.2.2": ["6.9.1", "7.3"],

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ class RoomSchemaLocationWorkaroundTest extends AbstractTest {
8181
8282
@Unroll
8383
def "schemas are generated into task-specific directory and are cacheable with kotlin and kapt workers disabled (Android #androidVersion) (Kotlin #kotlinVersion)"() {
84+
def kotlinVersionNumber = VersionNumber.parse(kotlinVersion)
85+
// There are kotlin module version errors when using older versions of kotlin with AGP 7.2.0+ in this configuration
86+
Assume.assumeFalse(androidVersion >= VersionNumber.parse("7.2.0-alpha01") && kotlinVersionNumber < VersionNumber.parse("1.5.0"))
87+
8488
SimpleAndroidApp.builder(temporaryFolder.root, cacheDir)
8589
.withAndroidVersion(androidVersion)
8690
.withKotlinVersion(VersionNumber.parse(kotlinVersion))

0 commit comments

Comments
 (0)