Skip to content

Commit

Permalink
Adjust gradle versions in tests that are compatible with Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed May 3, 2024
1 parent d135d94 commit ef0794a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ static Stream<String> gradleVersions() {
if (JavaVersion.current().compareTo(JavaVersion.VERSION_17) >= 0) { // Gradle 7.3+
return Stream.of("7.6.2", "8.0.2", "8.7");
}
if (JavaVersion.current().compareTo(JavaVersion.VERSION_21) >= 0) { // Gradle 8.4+
return Stream.of("8.7");
}
return Stream.of("7.1.1", "7.6.2", "8.0.2", "8.7");
}
}

0 comments on commit ef0794a

Please sign in to comment.