PeopleInSpace/backend/build.gradle.kts

31 lines
682 B
Text
Raw Normal View History

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 05:55:56 +00:00
with (Deps){
implementation(Deps.Serialization.core) // JVM dependency
implementation(kotlinCoroutinesCore)
implementation(logback)
}
2020-04-26 18:25:59 +00:00
2021-06-20 05:55:56 +00:00
with(Deps.Ktor){
implementation(serverCore)
implementation(serverNetty)
implementation(serialization)
implementation(websockets)
}
2020-04-26 18:25:59 +00:00
implementation(project(":common"))
}
2020-05-14 17:44:55 +00:00
2021-06-19 13:05:01 +00:00
tasks.withType<org.jetbrains.kotlin.gradle.tasks.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")
}