kotlin-result/example/build.gradle.kts
2021-05-05 13:46:04 +01:00

26 lines
640 B
Plaintext

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
application
kotlin("jvm")
}
application {
mainClass.set("io.ktor.server.netty.EngineMain")
}
dependencies {
implementation(project(":kotlin-result"))
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}")
}
tasks.withType(KotlinCompile::class.java).all {
kotlinOptions {
jvmTarget = "1.8"
}
}