Skip to content

Commit aa27b05

Browse files
committed
build: use Java 25 toolchain for minestom:app (Gradle 9)
Gradle 9 removed project-level sourceCompatibility/targetCompatibility, which broke ':minestom:app' evaluation after the upstream merge. Replace them with a Java 25 toolchain, consistent with the minestom and minestom:loader modules. https://claude.ai/code/session_01S76fk9ma5Szkf9r1W44RVP
1 parent bb8b22b commit aa27b05

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

minestom/app/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ plugins {
33
id("java-library")
44
}
55
group = 'net.luckperms'
6-
sourceCompatibility = 21
7-
targetCompatibility = 21
6+
7+
java {
8+
toolchain {
9+
languageVersion = JavaLanguageVersion.of(25)
10+
}
11+
}
12+
813
dependencies {
914
implementation project(':api')
1015

0 commit comments

Comments
 (0)