2020-04-19 12:40:12 +02:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
|
2020-04-04 13:37:27 +02:00
|
|
|
plugins {
|
2020-04-19 12:40:12 +02:00
|
|
|
kotlin("jvm")
|
|
|
|
application
|
2020-04-04 13:37:27 +02:00
|
|
|
}
|
2020-04-19 12:40:12 +02:00
|
|
|
|
2020-04-04 13:37:27 +02:00
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2020-04-19 12:40:12 +02:00
|
|
|
|
|
|
|
group = "de.pheerai"
|
2020-04-04 13:37:27 +02:00
|
|
|
version = "0.0.1"
|
|
|
|
|
2020-04-19 12:40:12 +02:00
|
|
|
java {
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
|
|
|
mainClassName = "de.pheerai.rcdbquery.SampleKt"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
|
|
|
2020-05-01 15:44:45 +02:00
|
|
|
// testImplementation(kotlin("test-junit"))
|
|
|
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:4.0.5")
|
|
|
|
testImplementation("io.kotest:kotest-assertions-core-jvm:4.0.5")
|
2020-04-19 12:40:12 +02:00
|
|
|
}
|
|
|
|
|
2020-05-01 15:44:45 +02:00
|
|
|
tasks {
|
|
|
|
withType<KotlinCompile>().configureEach {
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|
2020-04-04 13:37:27 +02:00
|
|
|
}
|