mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-21 16:19:42 +00:00
Broaden Gradle compatibility testing
Closes gh-45692
This commit is contained in:
@@ -154,7 +154,3 @@ plugins.withType(EclipsePlugin) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toolchain {
|
||||
maximumCompatibleJavaVersion = JavaLanguageVersion.of(23)
|
||||
}
|
||||
|
||||
+4
-1
@@ -33,9 +33,12 @@ public final class GradleVersions {
|
||||
}
|
||||
|
||||
public static List<String> allCompatible() {
|
||||
if (isJavaVersion(JavaVersion.VERSION_23)) {
|
||||
if (isJavaVersion(JavaVersion.VERSION_24)) {
|
||||
return Arrays.asList(GradleVersion.current().getVersion());
|
||||
}
|
||||
if (isJavaVersion(JavaVersion.VERSION_23)) {
|
||||
return Arrays.asList("8.10", GradleVersion.current().getVersion());
|
||||
}
|
||||
if (isJavaVersion(JavaVersion.VERSION_22)) {
|
||||
return Arrays.asList("8.8", GradleVersion.current().getVersion());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user