This commit is contained in:
@@ -21,6 +21,17 @@ dependencies {
|
||||
compileOnly("com.github.GriefPrevention:GriefPrevention:16.18.6") {
|
||||
isTransitive = false
|
||||
}
|
||||
|
||||
testImplementation("io.papermc.paper:paper-api:26.2.build.+")
|
||||
testImplementation("com.github.Zrips:Jobs:v5.2.6.2") {
|
||||
isTransitive = false
|
||||
}
|
||||
testImplementation("com.github.GriefPrevention:GriefPrevention:16.18.6") {
|
||||
isTransitive = false
|
||||
}
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:5.11.3")
|
||||
testImplementation("org.mockito:mockito-core:5.23.0")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.11.3")
|
||||
}
|
||||
|
||||
java {
|
||||
@@ -32,6 +43,10 @@ tasks.withType<JavaCompile>().configureEach {
|
||||
options.compilerArgs.addAll(listOf("-Xlint:deprecation", "-Xlint:unchecked"))
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
inputs.property("pluginVersion", pluginVersion)
|
||||
filesMatching("plugin.yml") {
|
||||
|
||||
Reference in New Issue
Block a user