35 lines
727 B
Groovy
35 lines
727 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
wrapper {
|
|
gradleVersion = '8.5'
|
|
distributionType = Wrapper.DistributionType.BIN
|
|
}
|
|
|
|
group = 'mc.nbt'
|
|
version = '2.0-SNAPSHOT'
|
|
|
|
compileJava {
|
|
targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
def junit5_version = '5.9.2'
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api:${junit5_version}")
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junit5_version}")
|
|
testImplementation("org.junit.jupiter:junit-jupiter-params:${junit5_version}")
|
|
|
|
testImplementation('org.apache.commons:commons-lang3:3.12.0')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|