setup new gralde project
This commit is contained in:
43
build.gradle
Normal file
43
build.gradle
Normal file
@@ -0,0 +1,43 @@
|
||||
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()
|
||||
}
|
||||
Reference in New Issue
Block a user