mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
plugin-tests: update Java toolchain and release version to 21
This commit is contained in:
@@ -9,7 +9,7 @@ version = findProperty("plugintestsVersion") as String
|
||||
description = "Library for defining and running tests in a Minecraft server environment"
|
||||
|
||||
java {
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
||||
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -67,7 +67,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(17)
|
||||
options.release.set(21)
|
||||
}
|
||||
|
||||
java {
|
||||
|
||||
Reference in New Issue
Block a user