43 lines
810 B
Groovy
43 lines
810 B
Groovy
plugins{
|
|
id "java"
|
|
}
|
|
|
|
group = "net.ardakaz.griefalert"
|
|
version = "0.6"
|
|
|
|
repositories{
|
|
mavenCentral()
|
|
|
|
maven{
|
|
name = "papermc"
|
|
url = "https://repo.papermc.io/repository/maven-public/"
|
|
}
|
|
maven {
|
|
name = "core-protect"
|
|
url = "https://maven.playpro.com/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly "io.papermc.paper:paper-api:26.1.2.build.72-stable"
|
|
compileOnly "net.coreprotect:coreprotect:23.1"
|
|
|
|
testImplementation(platform('org.junit:junit-bom:5.10.5'))
|
|
testImplementation('org.junit.jupiter:junit-jupiter')
|
|
testRuntimeOnly('org.junit.platform:junit-platform-launcher')
|
|
}
|
|
|
|
|
|
java{
|
|
toolchain{
|
|
languageVersion = JavaLanguageVersion.of(25)
|
|
}
|
|
}
|
|
|
|
tasks.processResources {
|
|
filteringCharset = "UTF-8"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |