File tree Expand file tree Collapse file tree
plugin/android-junit5/src/test/resources/test-projects Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments