35 lines
615 B
Plaintext
35 lines
615 B
Plaintext
plugins {
|
|
`java-library`
|
|
}
|
|
|
|
group = "eu.jonahbauer"
|
|
version = "1.0-SNAPSHOT"
|
|
description = "json"
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(22)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(libs.annotations)
|
|
|
|
compileOnly(libs.lombok)
|
|
annotationProcessor(libs.lombok)
|
|
|
|
testImplementation(libs.junit.jupiter)
|
|
testRuntimeOnly(libs.junit.platform.launcher)
|
|
}
|
|
|
|
tasks {
|
|
withType<JavaCompile> {
|
|
options.encoding = "UTF-8"
|
|
options.compilerArgs.add("--enable-preview")
|
|
}
|
|
|
|
withType<Test> {
|
|
useJUnitPlatform()
|
|
jvmArgs("--enable-preview")
|
|
}
|
|
} |