mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-20 16:28:51 +08:00
17 lines
257 B
Plaintext
17 lines
257 B
Plaintext
|
plugins {
|
||
|
id("java")
|
||
|
}
|
||
|
|
||
|
java {
|
||
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||
|
}
|
||
|
|
||
|
// utf-8
|
||
|
tasks.withType<JavaCompile> {
|
||
|
options.encoding = "UTF-8"
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
||
|
}
|