Skip to content

Commit

Permalink
Add Java 22 into test matrix (diffplug#2162)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg authored Jun 5, 2024
2 parents bbf9a56 + 7145a10 commit d5382ad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
matrix:
kind: [maven, gradle]
# Test on the latest Java version once Gradle & Maven support it.
jre: [11, 17, 21]
jre: [11, 17, 21, 22]
os: [ubuntu-latest]
include:
# test windows at the diagonals of the above matrix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ public enum GradleVersionSupport {
GradleVersionSupport(String version) {
String minVersionForRunningJRE;
switch (Jvm.version()) {
case 22:
case 23:
// TODO: https://docs.gradle.org/current/userguide/compatibility.html
case 22:
minVersionForRunningJRE = "8.8";
break;
case 21:
minVersionForRunningJRE = "8.5";
break;
Expand Down

0 comments on commit d5382ad

Please sign in to comment.