Skip to content

Commit e54cfb0

Browse files
committed
Remove GradleVersionSupport.CONFIGURATION_CACHE
1 parent 7def050 commit e54cfb0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2024 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -44,8 +44,6 @@
4444
public class GradleIntegrationHarness extends ResourceHarness {
4545
public enum GradleVersionSupport {
4646
JRE_11("5.0"), MINIMUM(SpotlessPlugin.VER_GRADLE_min), CUSTOM_STEPS(SpotlessPlugin.VER_GRADLE_minVersionForCustom),
47-
// technically, this API exists in 6.5, but the flags for it change in 6.6, so we build to that
48-
CONFIGURATION_CACHE("6.6"),
4947
// https://docs.gradle.org/7.5/userguide/configuration_cache.html#config_cache:stable
5048
STABLE_CONFIGURATION_CACHE("7.5");
5149

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
@@ -53,7 +53,7 @@ class NativeCmdWithConfigCacheTest extends GradleIntegrationHarness implements N
5353
public GradleRunner gradleRunner() throws IOException {
5454
setFile("gradle.properties").toLines("org.gradle.unsafe.configuration-cache=true",
5555
"org.gradle.configuration-cache=true");
56-
return super.gradleRunner().withGradleVersion(GradleVersionSupport.CONFIGURATION_CACHE.version);
56+
return super.gradleRunner();
5757
}
5858
}
5959
}

0 commit comments

Comments
 (0)