Merge branch '2.6.x' into 2.7.x

Closes gh-29734
This commit is contained in:
Andy Wilkinson 2022-02-10 17:13:56 +00:00
commit fc23310144
2 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -34,12 +34,12 @@ public final class GradleVersions {
public static List<String> allCompatible() {
if (isJava17()) {
return Arrays.asList("7.2", "7.3.3");
return Arrays.asList("7.2", "7.3.3", "7.4");
}
if (isJava16()) {
return Arrays.asList("7.0.2", "7.1", "7.2", "7.3.3");
return Arrays.asList("7.0.2", "7.1", "7.2", "7.3.3", "7.4");
}
return Arrays.asList("6.8.3", GradleVersion.current().getVersion(), "7.0.2", "7.1.1", "7.2", "7.3.3");
return Arrays.asList("6.8.3", GradleVersion.current().getVersion(), "7.0.2", "7.1.1", "7.2", "7.3.3", "7.4");
}
public static String currentOrMinimumCompatible() {