From 5264fb3d1e4edf14f34989eeaa027b5750a58b9a Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Wed, 9 Mar 2022 18:09:07 +0000 Subject: [PATCH] Test our Gradle Plugin against Gradle 7.4.1 Closes gh-30139 --- .../boot/gradle/junit/GradleCompatibilityExtension.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java index 38296398ba..e9f445c1f0 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilityExtension.java @@ -48,16 +48,16 @@ final class GradleCompatibilityExtension implements TestTemplateInvocationContex static { JavaVersion javaVersion = JavaVersion.current(); if (javaVersion.isCompatibleWith(JavaVersion.VERSION_HIGHER)) { - GRADLE_VERSIONS = Arrays.asList("7.3.3", "7.4"); + GRADLE_VERSIONS = Arrays.asList("7.3.3", "7.4.1"); } else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_17)) { - GRADLE_VERSIONS = Arrays.asList("7.2", "7.3.3", "7.4"); + GRADLE_VERSIONS = Arrays.asList("7.2", "7.3.3", "7.4.1"); } else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_16)) { - GRADLE_VERSIONS = Arrays.asList("7.0.2", "7.1.1", "7.2", "7.3.3", "7.4"); + GRADLE_VERSIONS = Arrays.asList("7.0.2", "7.1.1", "7.2", "7.3.3", "7.4.1"); } else { - GRADLE_VERSIONS = Arrays.asList("6.8.3", "current", "7.0.2", "7.1.1", "7.2", "7.3.3", "7.4"); + GRADLE_VERSIONS = Arrays.asList("6.8.3", "current", "7.0.2", "7.1.1", "7.2", "7.3.3", "7.4.1"); } }