kotlin-result/example/build.gradle

36 lines
807 B
Groovy
Raw Normal View History

2018-09-23 23:26:29 +00:00
plugins {
id 'application'
id 'org.jetbrains.kotlin.jvm'
}
2018-01-11 18:30:41 +00:00
mainClassName = 'io.ktor.server.netty.DevelopmentEngine'
repositories {
mavenCentral()
maven { url = "http://dl.bintray.com/kotlin/ktor" }
maven { url = "https://dl.bintray.com/kotlin/kotlinx" }
2018-01-11 18:30:41 +00:00
}
dependencies {
implementation project(":")
implementation "ch.qos.logback:logback-classic:$logbackVersion"
implementation "io.ktor:ktor-server-core:$ktorVersion"
implementation "io.ktor:ktor-server-netty:$ktorVersion"
implementation "io.ktor:ktor-gson:$ktorVersion"
2018-09-23 23:26:29 +00:00
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
2018-01-11 18:30:41 +00:00
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
kotlin {
experimental {
coroutines "enable"
}
}