@@ -15,8 +15,8 @@ import spock.lang.Unroll
15
15
*/
16
16
@CompileDynamic
17
17
class ProtobufAndroidPluginTest extends Specification {
18
- private static final List<String > GRADLE_VERSION = [" 5.6" , " 6.5-milestone-1 " ]
19
- private static final List<String > ANDROID_PLUGIN_VERSION = [" 3.5.0" , " 4.1.0-alpha10" ]
18
+ private static final List<String > GRADLE_VERSION = [" 5.6" , " 6.5" , " 6.8 " ]
19
+ private static final List<String > ANDROID_PLUGIN_VERSION = [" 3.5.0" , " 4.1.0" , " 4.2.0 -alpha10" ]
20
20
21
21
@Unroll
22
22
void " testProjectAndroid should be successfully executed [android #agpVersion, gradle #gradleVersion]" () {
@@ -70,8 +70,7 @@ class ProtobufAndroidPluginTest extends Specification {
70
70
mainProjectDir,
71
71
gradleVersion,
72
72
" testProjectAndroid:assembleDebug" ,
73
- " -Dorg.gradle.unsafe.instant-execution=true" ,
74
- " -Dorg.gradle.unsafe.instant-execution.fail-on-problems=false"
73
+ " -Dorg.gradle.unsafe.configuration-cache=true"
75
74
)
76
75
when : " build is invoked"
77
76
BuildResult result = runner. build()
@@ -86,7 +85,7 @@ class ProtobufAndroidPluginTest extends Specification {
86
85
result = runner. build()
87
86
88
87
then : " it reuses the task graph"
89
- result. output. contains(" Reusing instant execution cache" )
88
+ result. output. contains(" Reusing configuration cache" )
90
89
91
90
and : " it is up to date"
92
91
result. task(" :testProjectAndroid:assembleDebug" ). outcome == TaskOutcome . UP_TO_DATE
@@ -96,8 +95,7 @@ class ProtobufAndroidPluginTest extends Specification {
96
95
mainProjectDir,
97
96
gradleVersion,
98
97
" testProjectAndroid:clean" ,
99
- " -Dorg.gradle.unsafe.instant-execution=true" ,
100
- " -Dorg.gradle.unsafe.instant-execution.fail-on-problems=false"
98
+ " -Dorg.gradle.unsafe.configuration-cache=true"
101
99
)
102
100
result = runner. build()
103
101
0 commit comments