39 lines
803 B
Text
39 lines
803 B
Text
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
group = "de.pheerai"
|
|
version = "0.0.1"
|
|
|
|
java {
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib-jdk8"))
|
|
|
|
testImplementation("io.kotest:kotest-runner-junit5-jvm:4.0.5")
|
|
testImplementation("io.kotest:kotest-assertions-core-jvm:4.0.5")
|
|
}
|
|
|
|
tasks {
|
|
withType<KotlinCompile>().configureEach {
|
|
kotlinOptions {
|
|
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
|
|
apiVersion = "1.3"
|
|
languageVersion = "1.3"
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|