Skip to content

Commit 24b41f7

Browse files
committed
Add Java 24 into test matrix
1 parent 395a79a commit 24b41f7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
matrix:
4242
kind: [maven, gradle]
4343
# Test on the latest Java version once Gradle & Maven support it.
44-
jre: [11, 17, 21, 23]
44+
jre: [11, 17, 21, 24]
4545
os: [ubuntu-latest]
4646
include:
4747
# test windows at the diagonals of the above matrix

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/GradleIntegrationHarness.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2024 DiffPlug
2+
* Copyright 2016-2025 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -54,8 +54,11 @@ public enum GradleVersionSupport {
5454
GradleVersionSupport(String version) {
5555
String minVersionForRunningJRE;
5656
switch (Jvm.version()) {
57-
case 24:
57+
case 25:
5858
// TODO: https://docs.gradle.org/current/userguide/compatibility.html
59+
case 24:
60+
minVersionForRunningJRE = "8.14";
61+
break;
5962
case 23:
6063
minVersionForRunningJRE = "8.10";
6164
break;

0 commit comments

Comments
 (0)