kotlin-result/example/build.gradle.kts

30 lines
783 B
Plaintext
Raw Normal View History

2018-09-24 21:13:47 +00:00
import org.jetbrains.kotlin.gradle.dsl.Coroutines
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm")
}
application {
2018-11-01 12:13:15 +00:00
mainClassName = "io.ktor.server.netty.EngineMain"
2018-09-24 21:13:47 +00:00
}
repositories {
maven(url = "http://dl.bintray.com/kotlin/ktor")
maven(url = "https://dl.bintray.com/kotlin/kotlinx")
}
dependencies {
implementation(project(":"))
implementation(kotlin("stdlib-jdk8"))
implementation("ch.qos.logback:logback-classic:${ext["logbackVersion"]}")
implementation("io.ktor:ktor-server-core:${ext["ktorVersion"]}")
implementation("io.ktor:ktor-server-netty:${ext["ktorVersion"]}")
implementation("io.ktor:ktor-gson:${ext["ktorVersion"]}")
}
kotlin {
experimental.coroutines = Coroutines.ENABLE
}