kotlin-result/example/build.gradle.kts

31 lines
769 B
Plaintext
Raw Normal View History

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2018-09-24 21:13:47 +00:00
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(":kotlin-result"))
2018-09-24 21:13:47 +00:00
implementation(kotlin("stdlib-jdk8"))
implementation("ch.qos.logback:logback-classic:${Versions.logback}")
implementation("io.ktor:ktor-server-core:${Versions.ktor}")
implementation("io.ktor:ktor-server-netty:${Versions.ktor}")
implementation("io.ktor:ktor-gson:${Versions.ktor}")
2018-09-24 21:13:47 +00:00
}
tasks.withType(KotlinCompile::class.java).all {
kotlinOptions {
jvmTarget = "1.8"
}
}