kotlin-result/example/build.gradle.kts

27 lines
756 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 {
2021-12-30 11:42:07 +00:00
mainClass.set("com.github.michaelbull.result.example.ApplicationKt")
2018-09-24 21:13:47 +00:00
}
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}")
2021-12-30 11:42:07 +00:00
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}")
2018-09-24 21:13:47 +00:00
}
tasks.withType(KotlinCompile::class.java).all {
kotlinOptions {
jvmTarget = "1.8"
}
}