From 66562822d22e532c697f6365eb7210aaffba64b8 Mon Sep 17 00:00:00 2001 From: Scott Lewis Date: Mon, 17 Feb 2025 16:45:12 -0800 Subject: [PATCH] Changed back to java 21 --- build.gradle.kts | 2 +- lib/build.gradle.kts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index eb6d2320..3f728938 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -37,7 +37,7 @@ graalvmNative { if (System.getenv("GRAALVM_HOME") == null) { toolchainDetection.set(true) javaLauncher.set(javaToolchains.launcherFor { - languageVersion.set(JavaLanguageVersion.of(22)) + languageVersion.set(JavaLanguageVersion.of(21)) }) } else { toolchainDetection.set(false) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 08091201..c8f22f7c 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -8,7 +8,7 @@ java { targetCompatibility = JavaVersion.VERSION_21 toolchain { - languageVersion.set(JavaLanguageVersion.of(22)) + languageVersion.set(JavaLanguageVersion.of(21)) } }