2024-10-08 18:13:18 +08:00
|
|
|
plugins {
|
|
|
|
id("java")
|
|
|
|
}
|
|
|
|
|
|
|
|
java {
|
2024-10-09 10:37:29 +08:00
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
2024-10-08 18:13:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// utf-8
|
|
|
|
tasks.withType<JavaCompile> {
|
|
|
|
options.encoding = "UTF-8"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
|
|
|
}
|