From 1de372d8963f1881d777cb2dfa610008010451a2 Mon Sep 17 00:00:00 2001 From: dreis2211 Date: Fri, 25 Jan 2019 21:03:04 +0100 Subject: [PATCH] Test the Gradle plugin against Gradle 4.10.3 and 5.1.1 See gh-15791 --- .../boot/gradle/junit/GradleCompatibilitySuite.java | 2 +- .../org/springframework/boot/gradle/testkit/GradleBuild.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java index 31a8b70220da..f934eb38aab3 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/junit/GradleCompatibilitySuite.java @@ -39,7 +39,7 @@ public final class GradleCompatibilitySuite extends Suite { private static final List GRADLE_VERSIONS = Arrays.asList("default", "4.5.1", - "4.6", "4.7", "4.8.1", "4.9", "4.10.2", "5.0"); + "4.6", "4.7", "4.8.1", "4.9", "4.10.3", "5.0", "5.1.1"); public GradleCompatibilitySuite(Class clazz) throws InitializationError { super(clazz, createRunners(clazz)); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java index ba7a46603158..d0114eff9879 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/testkit/GradleBuild.java @@ -195,7 +195,7 @@ public GradleRunner prepareRunner(String... arguments) throws IOException { gradleRunner.withGradleVersion(this.gradleVersion); } else if (this.dsl == Dsl.KOTLIN) { - gradleRunner.withGradleVersion("4.10.2"); + gradleRunner.withGradleVersion("4.10.3"); } List allArguments = new ArrayList<>(); allArguments.add("-PbootVersion=" + getBootVersion());