Commit 7dfab00
committed
ci: run Gradle on JDK 21, expose JDK 25 toolchain via env
Gradle 8.14.3 cannot run on JDK 25 ('Unsupported class file major
version 69'), so the full-JDK-25 runtime broke the build script
compilation. Keep the Gradle runtime on JDK 21 (last entry, so it is
the default JAVA_HOME) and additionally install JDK 25, exposing it to
Gradle toolchain detection via org.gradle.java.installations.fromEnv so
only the Java 25 Minestom modules use it.
https://claude.ai/code/session_01S76fk9ma5Szkf9r1W44RVP1 parent 76582a8 commit 7dfab00
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
37 | | - | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
0 commit comments