PeopleInSpace/backend/build.gradle.kts

36 lines
729 B
Text
Raw Normal View History

2021-06-20 09:32:24 +00:00
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2020-04-26 18:25:59 +00:00
plugins {
id("kotlin-platform-jvm")
application
kotlin("plugin.serialization")
id("com.github.johnrengelman.shadow")
2020-04-26 18:25:59 +00:00
}
dependencies {
2021-06-20 12:52:13 +00:00
with(Deps.Kotlinx) {
implementation(serializationCore) // JVM dependency
implementation(coroutinesCore)
2021-06-20 05:55:56 +00:00
}
2020-04-26 18:25:59 +00:00
2021-06-20 09:32:24 +00:00
with(Deps.Ktor) {
2021-06-20 05:55:56 +00:00
implementation(serverCore)
implementation(serverNetty)
implementation(serialization)
implementation(websockets)
}
2020-04-26 18:25:59 +00:00
2021-06-20 12:52:13 +00:00
with(Deps.Log) {
implementation(logback)
}
2020-04-26 18:25:59 +00:00
implementation(project(":common"))
}
2020-05-14 17:44:55 +00:00
2021-06-20 09:32:24 +00:00
tasks.withType<KotlinCompile> {
2021-05-11 18:48:28 +00:00
kotlinOptions.jvmTarget = "1.8"
}
2020-05-14 17:44:55 +00:00
application {
mainClass.set("ServerKt")
}