|
|
@ -34,15 +34,15 @@ public final class GradleVersions {
|
|
|
|
|
|
|
|
|
|
|
|
public static List<String> allCompatible() {
|
|
|
|
public static List<String> allCompatible() {
|
|
|
|
if (isJava18()) {
|
|
|
|
if (isJava18()) {
|
|
|
|
return Arrays.asList("7.3.3", GradleVersion.current().getVersion(), "8.0.2", "8.1");
|
|
|
|
return Arrays.asList("7.3.3", GradleVersion.current().getVersion(), "8.0.2", "8.1.1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (isJava17()) {
|
|
|
|
if (isJava17()) {
|
|
|
|
return Arrays.asList("7.2", GradleVersion.current().getVersion(), "8.0.2", "8.1");
|
|
|
|
return Arrays.asList("7.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (isJava16()) {
|
|
|
|
if (isJava16()) {
|
|
|
|
return Arrays.asList("7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1");
|
|
|
|
return Arrays.asList("7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return Arrays.asList("6.8.3", "6.9.4", "7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1");
|
|
|
|
return Arrays.asList("6.8.3", "6.9.4", "7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static String minimumCompatible() {
|
|
|
|
public static String minimumCompatible() {
|
|
|
|