From fec401be5d91c8507576cdc0f0cff4af0892b34a Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 11 May 2024 13:31:38 +0200 Subject: [PATCH] Rollback to java 17 due to wierd behaviour related to headless --- app/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 17e509b..1733fa1 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -28,13 +28,13 @@ dependencies { // Apply a specific Java toolchain to ease working on different environments. java { toolchain { - languageVersion.set(JavaLanguageVersion.of(21)) + languageVersion.set(JavaLanguageVersion.of(17)) } } application { // Define the main class for the application. - mainClass.set("xl.App") + mainClass.set("gui.XL") } tasks.named("test") {