Commit 1de372d8 authored by dreis2211's avatar dreis2211 Committed by Andy Wilkinson

Test the Gradle plugin against Gradle 4.10.3 and 5.1.1

See gh-15791
parent 26da45aa
...@@ -39,7 +39,7 @@ import org.springframework.boot.gradle.testkit.GradleBuild; ...@@ -39,7 +39,7 @@ import org.springframework.boot.gradle.testkit.GradleBuild;
public final class GradleCompatibilitySuite extends Suite { public final class GradleCompatibilitySuite extends Suite {
private static final List<String> GRADLE_VERSIONS = Arrays.asList("default", "4.5.1", private static final List<String> 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 { public GradleCompatibilitySuite(Class<?> clazz) throws InitializationError {
super(clazz, createRunners(clazz)); super(clazz, createRunners(clazz));
......
...@@ -195,7 +195,7 @@ public class GradleBuild implements TestRule { ...@@ -195,7 +195,7 @@ public class GradleBuild implements TestRule {
gradleRunner.withGradleVersion(this.gradleVersion); gradleRunner.withGradleVersion(this.gradleVersion);
} }
else if (this.dsl == Dsl.KOTLIN) { else if (this.dsl == Dsl.KOTLIN) {
gradleRunner.withGradleVersion("4.10.2"); gradleRunner.withGradleVersion("4.10.3");
} }
List<String> allArguments = new ArrayList<>(); List<String> allArguments = new ArrayList<>();
allArguments.add("-PbootVersion=" + getBootVersion()); allArguments.add("-PbootVersion=" + getBootVersion());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment