Remove Java Toolchain
This commit is contained in:
parent
1092c8ad0a
commit
6983baa61f
|
|
@ -3,17 +3,11 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "com.alttd"
|
group = "com.alttd"
|
||||||
version = "1.0.0-SNAPSHOT"
|
version = System.getenv("BUILD_NUMBER") ?: "1.0.0-SNAPSHOT"
|
||||||
description = "Blacklist anyone with a specific permission from a world."
|
description = "Blacklist anyone with a specific permission from a world."
|
||||||
|
|
||||||
apply<JavaLibraryPlugin>()
|
apply<JavaLibraryPlugin>()
|
||||||
|
|
||||||
java {
|
|
||||||
toolchain {
|
|
||||||
languageVersion.set(JavaLanguageVersion.of(21))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
withType<JavaCompile> {
|
withType<JavaCompile> {
|
||||||
options.encoding = Charsets.UTF_8.name()
|
options.encoding = Charsets.UTF_8.name()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user