Upgrade to Gradle 6.1

Closes gh-19772
pull/19789/head
Andy Wilkinson 5 years ago
parent adda1936f5
commit 9d5975bd09

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.0.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

@ -17,7 +17,6 @@
package org.springframework.boot.gradle.junit; package org.springframework.boot.gradle.junit;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections;
import java.util.List; import java.util.List;
import java.util.stream.Stream; import java.util.stream.Stream;
@ -44,10 +43,10 @@ public final class GradleCompatibilityExtension implements TestTemplateInvocatio
static { static {
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_13)) { if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_13)) {
GRADLE_VERSIONS = Collections.singletonList("default"); GRADLE_VERSIONS = Arrays.asList("6.0.1", "default");
} }
else { else {
GRADLE_VERSIONS = Arrays.asList("5.6.4", "default"); GRADLE_VERSIONS = Arrays.asList("5.6.4", "6.0.1", "default");
} }
} }

Loading…
Cancel
Save