diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/src/main/java/org/springframework/boot/testsupport/gradle/testkit/GradleVersions.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/src/main/java/org/springframework/boot/testsupport/gradle/testkit/GradleVersions.java index 67195beeef..901a3b80b9 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/src/main/java/org/springframework/boot/testsupport/gradle/testkit/GradleVersions.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/src/main/java/org/springframework/boot/testsupport/gradle/testkit/GradleVersions.java @@ -35,17 +35,17 @@ public final class GradleVersions { public static List allCompatible() { if (isJava17()) { - return Collections.singletonList("7.2-rc-1"); + return Collections.singletonList("7.2-rc-2"); } if (isJava16()) { - return Arrays.asList("7.0.2", "7.1"); + return Arrays.asList("7.0.2", "7.1", "7.2-rc-2"); } - return Arrays.asList("6.8.3", GradleVersion.current().getVersion(), "7.0.2", "7.1.1"); + return Arrays.asList("6.8.3", GradleVersion.current().getVersion(), "7.0.2", "7.1.1", "7.2-rc-2"); } public static String currentOrMinimumCompatible() { if (isJava17()) { - return "7.2-rc-1"; + return "7.2-rc-2"; } if (isJava16()) { return "7.0.2";