PeopleInSpace/backend/build.gradle.kts
2021-06-20 15:27:53 +01:00

31 lines
No EOL
682 B
Text

plugins {
id("kotlin-platform-jvm")
application
kotlin("plugin.serialization")
id("com.github.johnrengelman.shadow")
}
dependencies {
with (Deps){
implementation(Deps.Serialization.core) // JVM dependency
implementation(kotlinCoroutinesCore)
implementation(logback)
}
with(Deps.Ktor){
implementation(serverCore)
implementation(serverNetty)
implementation(serialization)
implementation(websockets)
}
implementation(project(":common"))
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("ServerKt")
}