|
|
|
@ -34,17 +34,17 @@ public final class GradleVersions {
|
|
|
|
|
|
|
|
|
|
public static List<String> allCompatible() {
|
|
|
|
|
if (isJava18()) {
|
|
|
|
|
return Arrays.asList("7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-2");
|
|
|
|
|
return Arrays.asList("7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-3");
|
|
|
|
|
}
|
|
|
|
|
if (isJava17()) {
|
|
|
|
|
return Arrays.asList("7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-2");
|
|
|
|
|
return Arrays.asList("7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-3");
|
|
|
|
|
}
|
|
|
|
|
if (isJava16()) {
|
|
|
|
|
return Arrays.asList("7.0.2", "7.1", "7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion(),
|
|
|
|
|
"7.6-rc-2");
|
|
|
|
|
"7.6-rc-3");
|
|
|
|
|
}
|
|
|
|
|
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(), "7.6-rc-2");
|
|
|
|
|
GradleVersion.current().getVersion(), "7.6-rc-3");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static String minimumCompatible() {
|
|
|
|
|