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