Rollback to java 17 due to wierd behaviour related to headless

This commit is contained in:
Imbus 2024-05-11 13:31:38 +02:00
parent 11766801ef
commit fec401be5d

View file

@ -28,13 +28,13 @@ dependencies {
// Apply a specific Java toolchain to ease working on different environments. // Apply a specific Java toolchain to ease working on different environments.
java { java {
toolchain { toolchain {
languageVersion.set(JavaLanguageVersion.of(21)) languageVersion.set(JavaLanguageVersion.of(17))
} }
} }
application { application {
// Define the main class for the application. // Define the main class for the application.
mainClass.set("xl.App") mainClass.set("gui.XL")
} }
tasks.named<Test>("test") { tasks.named<Test>("test") {