mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Reduce Gradle versions used for compatibility testing
Closes gh-33401
This commit is contained in:
parent
7ea5881066
commit
2da8bc1f3b
@ -34,16 +34,15 @@ public final class GradleVersions {
|
||||
|
||||
public static List<String> allCompatible() {
|
||||
if (isJava18()) {
|
||||
return Arrays.asList("7.3.3", "7.4.2", GradleVersion.current().getVersion());
|
||||
return Arrays.asList("7.3.3", GradleVersion.current().getVersion());
|
||||
}
|
||||
if (isJava17()) {
|
||||
return Arrays.asList("7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion());
|
||||
return Arrays.asList("7.2", GradleVersion.current().getVersion());
|
||||
}
|
||||
if (isJava16()) {
|
||||
return Arrays.asList("7.0.2", "7.1", "7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion());
|
||||
return Arrays.asList("7.0.2", GradleVersion.current().getVersion());
|
||||
}
|
||||
return Arrays.asList("6.8.3", "6.9.3", "7.0.2", "7.1.1", "7.2", "7.3.3", "7.4.2",
|
||||
GradleVersion.current().getVersion());
|
||||
return Arrays.asList("6.8.3", "6.9.3", "7.0.2", GradleVersion.current().getVersion());
|
||||
}
|
||||
|
||||
public static String minimumCompatible() {
|
||||
|
Loading…
Reference in New Issue
Block a user