Merge branch '3.0.x' into 3.1.x

Closes gh-37027
3.1.x
Stephane Nicoll 1 year ago
commit d9cc6e810f

@ -85,9 +85,13 @@ class KotlinPluginActionIntegrationTests {
if (GradleVersion.version(this.gradleBuild.getGradleVersion()).compareTo(GradleVersion.version("7.3.3")) < 0) {
assertThat(configured).containsExactly("help");
}
else {
else if (GradleVersion.version(this.gradleBuild.getGradleVersion())
.compareTo(GradleVersion.version("8.3")) < 0) {
assertThat(configured).containsExactlyInAnyOrder("help", "clean");
}
else {
assertThat(configured).containsExactlyInAnyOrder("help", "clean", "compileJava");
}
}
}

@ -35,9 +35,9 @@ public final class GradleVersions {
@SuppressWarnings("UnstableApiUsage")
public static List<String> allCompatible() {
if (isJavaVersion(JavaVersion.VERSION_20)) {
return Arrays.asList("8.1.1", "8.2.1");
return Arrays.asList("8.1.1", "8.3");
}
return Arrays.asList("7.5.1", GradleVersion.current().getVersion(), "8.0.2", "8.2.1");
return Arrays.asList("7.5.1", GradleVersion.current().getVersion(), "8.0.2", "8.3");
}
public static String minimumCompatible() {

Loading…
Cancel
Save