Remove Java Toolchain

This commit is contained in:
Len 2026-08-01 02:54:14 -05:00
parent 1092c8ad0a
commit 6983baa61f

View File

@ -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()