21 lines
865 B
Kotlin
21 lines
865 B
Kotlin
plugins { java }
|
|
group = "com.example"
|
|
version = "1.0.0"
|
|
repositories {
|
|
mavenCentral()
|
|
maven("https://repo.papermc.io/repository/maven-public/")
|
|
maven("https://nexus.scarsz.me/content/groups/public/") {
|
|
content { includeModule("com.discordsrv", "discordsrv") }
|
|
}
|
|
}
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
|
|
compileOnly("com.discordsrv:discordsrv:1.30.5") { isTransitive = false }
|
|
testImplementation("io.papermc.paper:paper-api:1.21.8-R0.1-SNAPSHOT")
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.11.4")
|
|
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
|
|
}
|
|
java { toolchain.languageVersion.set(JavaLanguageVersion.of(21)) }
|
|
tasks.withType<JavaCompile> { options.encoding = "UTF-8" }
|
|
tasks.test { useJUnitPlatform() }
|
|
tasks.jar { archiveFileName.set("DuneChat.jar") }
|

Staff