Changed back to java 21

This commit is contained in:
Scott Lewis 2025-02-17 16:45:12 -08:00
parent 2803976ee5
commit 66562822d2
2 changed files with 2 additions and 2 deletions

View file

@ -37,7 +37,7 @@ graalvmNative {
if (System.getenv("GRAALVM_HOME") == null) { if (System.getenv("GRAALVM_HOME") == null) {
toolchainDetection.set(true) toolchainDetection.set(true)
javaLauncher.set(javaToolchains.launcherFor { javaLauncher.set(javaToolchains.launcherFor {
languageVersion.set(JavaLanguageVersion.of(22)) languageVersion.set(JavaLanguageVersion.of(21))
}) })
} else { } else {
toolchainDetection.set(false) toolchainDetection.set(false)

View file

@ -8,7 +8,7 @@ java {
targetCompatibility = JavaVersion.VERSION_21 targetCompatibility = JavaVersion.VERSION_21
toolchain { toolchain {
languageVersion.set(JavaLanguageVersion.of(22)) languageVersion.set(JavaLanguageVersion.of(21))
} }
} }