Files
RoseFirefighter/build.gradle.kts
T
2026-08-17 09:00:09 -04:00

41 lines
907 B
Kotlin

plugins {
java
}
group = "net.therosegarden"
version = "1.0.0"
val pluginVersion = version.toString()
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://jitpack.io")
}
dependencies {
compileOnly("io.papermc.paper:paper-api:26.2.build.+")
compileOnly("com.github.Zrips:Jobs:v5.2.6.2") {
isTransitive = false
}
compileOnly("com.github.GriefPrevention:GriefPrevention:16.18.6") {
isTransitive = false
}
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(25))
}
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.compilerArgs.addAll(listOf("-Xlint:deprecation", "-Xlint:unchecked"))
}
tasks.processResources {
inputs.property("pluginVersion", pluginVersion)
filesMatching("plugin.yml") {
expand("version" to pluginVersion)
}
}