From ebfbf4a4125cfa3b9f059a815c5d4a50670b47e7 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 24 Nov 2022 11:23:45 +0000 Subject: [PATCH] Stop testing Gradle plugin against Gradle 7.6 RCs Closes gh-33342 --- .../boot/testsupport/gradle/testkit/GradleVersions.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 9e52761287..faf2640a3c 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 @@ -34,17 +34,16 @@ public final class GradleVersions { public static List allCompatible() { if (isJava18()) { - return Arrays.asList("7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-3"); + return Arrays.asList("7.3.3", "7.4.2", GradleVersion.current().getVersion()); } if (isJava17()) { - return Arrays.asList("7.2", "7.3.3", "7.4.2", GradleVersion.current().getVersion(), "7.6-rc-3"); + return Arrays.asList("7.2", "7.3.3", "7.4.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(), - "7.6-rc-3"); + return Arrays.asList("7.0.2", "7.1", "7.2", "7.3.3", "7.4.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(), "7.6-rc-3"); + GradleVersion.current().getVersion()); } public static String minimumCompatible() {