Skip to content

Commit 71c51d0

Browse files
committed
Update tested AGP versions to 4.12, 4.2.0-b3, 7.0.0-a5
1 parent fdd24fe commit 71c51d0

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ object Plugins {
1818
val android35x: Agp = Agp("com.android.tools.build:gradle:3.5.4")
1919
val android36x: Agp = Agp("com.android.tools.build:gradle:3.6.4")
2020
val android40x: Agp = Agp("com.android.tools.build:gradle:4.0.2")
21-
val android41x: Agp = Agp("com.android.tools.build:gradle:4.1.1", requiresGradle = "6.5")
22-
val android42x: Agp = Agp("com.android.tools.build:gradle:4.2.0-beta02", requiresGradle = "6.7.1")
23-
val android70x: Agp = Agp("com.android.tools.build:gradle:7.0.0-alpha03", requiresGradle = "6.8-rc-1")
21+
val android41x: Agp = Agp("com.android.tools.build:gradle:4.1.2", requiresGradle = "6.5")
22+
val android42x: Agp = Agp("com.android.tools.build:gradle:4.2.0-beta03", requiresGradle = "6.7.1")
23+
val android70x: Agp = Agp("com.android.tools.build:gradle:7.0.0-alpha05", requiresGradle = "6.8")
2424
val android: Agp = android35x
2525

2626
val supportedAndroidPlugins = listOf(

plugin/android-junit5/src/test/resources/test-projects/build.gradle.kts.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ android {
107107
}
108108

109109
{% for type in DISABLE_TESTS_FOR_BUILD_TYPES %}
110-
{% if atLeastAgp("7.0.0-alpha01") %}
111-
// New Variant API for AGP 7.0
110+
{% if atLeastAgp("4.2.0-beta01") %}
111+
// New Variant API for AGP 4.2 and above
112112
androidComponents {
113113
beforeUnitTest(selector().withBuildType("{{ type }}")) { test ->
114114
test.enabled = false
115115
}
116116
}
117117
{% elseif atLeastAgp("4.1") %}
118-
// Variant API for AGP 4.1 & 4.2
118+
// Variant API for AGP 4.1
119119
android.onVariants.withBuildType("{{ type }}") {
120120
unitTest {
121121
enabled = false

0 commit comments

Comments
 (0)