27 lines
756 B
Plaintext
27 lines
756 B
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
application
|
|
kotlin("jvm")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("com.github.michaelbull.result.example.ApplicationKt")
|
|
}
|
|
|
|
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-content-negotiation:${Versions.ktor}")
|
|
implementation("io.ktor:ktor-serialization-jackson:${Versions.ktor}")
|
|
implementation("io.ktor:ktor-server-netty:${Versions.ktor}")
|
|
}
|
|
|
|
tasks.withType(KotlinCompile::class.java).all {
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
}
|
|
}
|