27 lines
577 B
Plaintext
27 lines
577 B
Plaintext
|
plugins {
|
||
|
id("java")
|
||
|
}
|
||
|
|
||
|
java {
|
||
|
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
|
||
|
}
|
||
|
|
||
|
// utf-8
|
||
|
tasks.withType<JavaCompile> {
|
||
|
options.encoding = "UTF-8"
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
mavenLocal()
|
||
|
maven("https://oss.sonatype.org/content/groups/public")
|
||
|
maven("https://repo.papermc.io/repository/maven-public/")
|
||
|
maven("https://jitpack.io")
|
||
|
maven("https://repo.mikeprimm.com/")
|
||
|
maven("https://ssl.lunadeer.cn:14454/repository/maven-snapshots/")
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
|
||
|
}
|