Files
wdi/build.gradle
2022-01-15 19:32:59 +08:00

39 lines
1.0 KiB
Groovy

plugins {
id 'java-library'
}
group = "net.woggioni"
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
dependencies {
compileOnly group: "org.projectlombok", name: "lombok", version: lombokVersion
annotationProcessor group: "org.projectlombok", name: "lombok", version: lombokVersion
implementation group: 'net.woggioni', name: 'jwo', version: jwoVersion
testCompileOnly group: "org.projectlombok", name: "lombok", version: lombokVersion
testAnnotationProcessor group: "org.projectlombok", name: "lombok", version: lombokVersion
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: junitJupiterVersion
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: junitJupiterVersion
}
java {
modularity.inferModulePath = true
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
compileTestJava {
options.compilerArgs << '-parameters'
}
test {
useJUnitPlatform()
}