38 lines
852 B
Kotlin
38 lines
852 B
Kotlin
plugins {
|
|
id("java")
|
|
}
|
|
|
|
group = "de.siphalor"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
allprojects {
|
|
apply(plugin = "java")
|
|
apply(plugin = "java-library")
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
val lombok = "org.projectlombok:lombok:${properties["lombok.version"]}"
|
|
compileOnly(lombok)
|
|
annotationProcessor(lombok)
|
|
testCompileOnly(lombok)
|
|
testAnnotationProcessor(lombok)
|
|
|
|
implementation("org.jetbrains:annotations:${properties["jetbrains_annotations.version"]}")
|
|
|
|
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|