Skip to content

Commit 1c9ad48

Browse files
committed
Fix JDK version
1 parent c80f884 commit 1c9ad48

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build-logic/src/main/kotlin/org.jabref.gradle.feature.compile.gradle.kts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ java {
1616
// - .sdkmanrc
1717
languageVersion = JavaLanguageVersion.of(25)
1818
// See https://docs.gradle.org/current/javadoc/org/gradle/jvm/toolchain/JvmVendorSpec.html for a full list
19-
// Temurin does not ship jmods, thus we need to use another JDK -- see https://github.com/actions/setup-java/issues/804
2019
// We also need a JDK without JavaFX, because we patch JavaFX due to modularity issues
21-
vendor = JvmVendorSpec.TEMURIN
20+
vendor = JvmVendorSpec.ADOPTIUM
2221
}
2322
}
2423

2524
tasks.withType<JavaCompile>().configureEach {
26-
options.release = 24
25+
options.release = 25
2726
}

0 commit comments

Comments
 (0)