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"))
|
|
|
|
|
|
|
|
testImplementation(kotlin("test-junit"))
|
|
|
|
}
|
|
|
|
|
|
|
|
val compileKotlin: KotlinCompile by tasks
|
|
|
|
compileKotlin.kotlinOptions {
|
|
|
|
freeCompilerArgs = listOf("-XXLanguage:+InlineClasses")
|
2020-04-04 13:37:27 +02:00
|
|
|
}
|