Skip to content

Commit b1c72e0

Browse files
refactor(tests): update EndToEndTest to use stable configuration cache feature
1 parent bf9e420 commit b1c72e0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.idea/
22
repo/
33
.kotlin/
4+
.DS_Store

oss-licenses-plugin/src/test/java/com/google/android/gms/oss/licenses/plugin/EndToEndTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ abstract class EndToEndTest(private val agpVersion: String, private val gradleVe
4747
// while keeping all metadata inside the project's build directory for cleanliness.
4848
.withTestKitDir(File(System.getProperty("testkit_path"), this.javaClass.simpleName))
4949
// Enable strict configuration cache mode for all tests.
50-
.withArguments(*arguments, "--configuration-cache", "-Dorg.gradle.configuration-cache.problems=fail")
50+
.withArguments(*arguments, "--configuration-cache", "--configuration-cache-problems=fail")
5151
}
5252

5353
@Before
@@ -93,6 +93,7 @@ abstract class EndToEndTest(private val agpVersion: String, private val gradleVe
9393
mavenCentral()
9494
}
9595
}
96+
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
9697
""".trimIndent()
9798
)
9899
}

0 commit comments

Comments
 (0)