Merge branch '2.7.x' into 3.0.x

Closes gh-37026
pull/37462/head
Stephane Nicoll 1 year ago
commit 1f6d0600b5

@ -85,9 +85,14 @@ 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", "compileKotlin", "compileTestKotlin");
}
else {
assertThat(configured).containsExactlyInAnyOrder("help", "clean", "compileJava", "compileKotlin",
"compileTestKotlin");
}
}
}

@ -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