30 lines
617 B
Groovy
30 lines
617 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'application'
|
|
id 'org.jetbrains.kotlin.jvm'
|
|
id 'org.jetbrains.kotlin.plugin.serialization'
|
|
}
|
|
|
|
mainClassName = 'MainKt'
|
|
|
|
dependencies {
|
|
implementation project(":pojos")
|
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.0"
|
|
|
|
testImplementation platform("org.junit:junit-bom:5.8.1")
|
|
testImplementation "org.junit.jupiter:junit-jupiter"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
events "passed", "skipped", "failed"
|
|
}
|
|
}
|
|
|
|
compileKotlin {
|
|
kotlinOptions.jvmTarget = 11
|
|
}
|
|
compileTestKotlin {
|
|
kotlinOptions.jvmTarget = 11
|
|
}
|