Skip to content

Commit

Permalink
Test our Gradle plugin against Gradle 7.3
Browse files Browse the repository at this point in the history
Closes gh-28679
  • Loading branch information
wilkinsona committed Nov 15, 2021
1 parent 4cfbc0d commit 0aae9c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -48,13 +48,13 @@ final class GradleCompatibilityExtension implements TestTemplateInvocationContex
static {
JavaVersion javaVersion = JavaVersion.current();
if (javaVersion.isCompatibleWith(JavaVersion.VERSION_17)) {
GRADLE_VERSIONS = Arrays.asList("7.2");
GRADLE_VERSIONS = Arrays.asList("7.2", "7.3");
}
else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_16)) {
GRADLE_VERSIONS = Arrays.asList("7.0.2", "7.1.1", "7.2");
GRADLE_VERSIONS = Arrays.asList("7.0.2", "7.1.1", "7.2", "7.3");
}
else {
GRADLE_VERSIONS = Arrays.asList("6.8.3", "current", "7.0.2", "7.1.1", "7.2");
GRADLE_VERSIONS = Arrays.asList("6.8.3", "current", "7.0.2", "7.1.1", "7.2", "7.3");
}
}

Expand Down
Expand Up @@ -63,7 +63,7 @@ public List<Extension> getAdditionalExtensions() {
GradleBuild gradleBuild = new GradleBuild(this.dsl);
JavaVersion javaVersion = JavaVersion.current();
if (javaVersion.isCompatibleWith(JavaVersion.VERSION_17)) {
gradleBuild.gradleVersion("7.2");
gradleBuild.gradleVersion("7.3");
}
else if (javaVersion.isCompatibleWith(JavaVersion.VERSION_16)) {
gradleBuild.gradleVersion("7.0.2");
Expand Down

0 comments on commit 0aae9c2

Please sign in to comment.