31 lines
609 B
Plaintext
31 lines
609 B
Plaintext
plugins {
|
|
`java`
|
|
`maven-publish`
|
|
}
|
|
|
|
group = "com.wulliestudio"
|
|
version = "1.0.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(21))
|
|
}
|
|
withSourcesJar()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT")
|
|
// Optional PlaceholderAPI hook - uncomment if you want to compile against it:
|
|
// compileOnly("me.clip:placeholderapi:2.11.3")
|
|
}
|
|
|
|
tasks.withType<JavaCompile> {
|
|
options.encoding = "UTF-8"
|
|
options.release.set(21)
|
|
}
|