Skip to content

Commit ba2eca8

Browse files
bingranlting-yuan
authored andcommitted
Enable configuration cache for AndroidIT
The issue mentioned in(#299 (comment)) has been resolved in recent AGP
1 parent 646d6d3 commit ba2eca8

File tree

1 file changed

+1
-2
lines changed
  • integration-tests/src/test/kotlin/com/google/devtools/ksp/test

1 file changed

+1
-2
lines changed

integration-tests/src/test/kotlin/com/google/devtools/ksp/test/AndroidIT.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ class AndroidIT(useKSP2: Boolean) {
1919
fun testPlaygroundAndroid() {
2020
val gradleRunner = GradleRunner.create().withProjectDir(project.root)
2121

22-
// Disabling configuration cache. See https://github.com/google/ksp/issues/299 for details
2322
gradleRunner.withArguments(
24-
"clean", "build", "minifyReleaseWithR8", "--configuration-cache-problems=warn", "--info", "--stacktrace"
23+
"clean", "build", "minifyReleaseWithR8", "--configuration-cache", "--info", "--stacktrace"
2524
).build().let { result ->
2625
Assert.assertEquals(TaskOutcome.SUCCESS, result.task(":workload:build")?.outcome)
2726
val mergedConfiguration = File(project.root, "workload/build/outputs/mapping/release/configuration.txt")

0 commit comments

Comments
 (0)