feat: add JobsReborn firefighter gameplay and Gradle wrapper
Build / build (push) Failing after 7m10s
Build / build (push) Failing after 7m10s
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user