ci: downgrade Java version from 23 to 21 in build configuration

This commit is contained in:
Oliver
2025-03-15 15:15:35 +01:00
parent 48b9dda5f5
commit 2c66027e65
2 changed files with 4 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ group = "de.oliver"
description = "Tool to deploy Minecraft plugins"
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(23))
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
repositories {
@@ -42,7 +42,7 @@ tasks {
// Set the release flag. This configures what version bytecode the compiler will emit, as well as what JDK APIs are usable.
// See https://openjdk.java.net/jeps/247 for more information.
options.release.set(23)
options.release.set(21)
}
java {