From fe08c70973d6af7b6302509e9d609923fb8213dd Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 5 Jul 2023 08:13:24 +0100 Subject: [PATCH] Test Gradle plugin against Gradle 8.2 Closes gh-36207 --- .../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 ed09fd76dd..a62e0cce1c 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,16 +34,15 @@ public final class GradleVersions { public static List allCompatible() { if (isJava18()) { - return Arrays.asList("7.3.3", GradleVersion.current().getVersion(), "8.0.2", "8.1.1", "8.2-rc-1"); + return Arrays.asList("7.3.3", GradleVersion.current().getVersion(), "8.0.2", "8.2"); } if (isJava17()) { - return Arrays.asList("7.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1", "8.2-rc-1"); + return Arrays.asList("7.2", GradleVersion.current().getVersion(), "8.0.2", "8.2"); } if (isJava16()) { - return Arrays.asList("7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1", "8.2-rc-1"); + return Arrays.asList("7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.2"); } - return Arrays.asList("6.8.3", "6.9.4", "7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.1.1", - "8.2-rc-1"); + return Arrays.asList("6.8.3", "6.9.4", "7.0.2", GradleVersion.current().getVersion(), "8.0.2", "8.2"); } public static String minimumCompatible() {