2020-06-05 15:26:40 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
|
2023-04-03 11:16:37 +00:00
|
|
|
kotlin {
|
|
|
|
jvmToolchain(8)
|
|
|
|
}
|
|
|
|
|
2018-09-24 21:13:47 +00:00
|
|
|
dependencies {
|
2020-08-07 13:51:27 +00:00
|
|
|
implementation(project(":kotlin-result"))
|
2023-03-20 01:20:22 +00:00
|
|
|
implementation(libs.kotlin.stdlib.jdk8)
|
|
|
|
implementation(libs.logback)
|
|
|
|
implementation(libs.ktor.serialization.jackson)
|
|
|
|
implementation(libs.ktor.server.core)
|
|
|
|
implementation(libs.ktor.server.content.negotiation)
|
|
|
|
implementation(libs.ktor.server.netty)
|
2018-09-24 21:13:47 +00:00
|
|
|
}
|