Skip to content

Commit bcfe83f

Browse files
committed
Stop using STABLE_CONFIGURATION_CACHE because it causes error in some versions of Gradle.
1 parent b0837a2 commit bcfe83f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/NativeCmdIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class NativeCmdWithConfigCacheTest extends GradleIntegrationHarness implements N
5252
@Override
5353
public GradleRunner gradleRunner() throws IOException {
5454
setFile("gradle.properties").toContent("org.gradle.unsafe.configuration-cache=true");
55-
setFile("settings.gradle").toContent("enableFeaturePreview(\"STABLE_CONFIGURATION_CACHE\")");
55+
setFile("gradle.properties").toContent("org.gradle.configuration-cache=true");
5656
return super.gradleRunner().withGradleVersion(GradleVersionSupport.CONFIGURATION_CACHE.version);
5757
}
5858
}

0 commit comments

Comments
 (0)