2020-09-22 02:20:22 +00:00
|
|
|
plugins {
|
|
|
|
id "org.jetbrains.kotlin.multiplatform"
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "$mppJavaProjectPresetPath"
|
|
|
|
|
|
|
|
kotlin {
|
|
|
|
sourceSets {
|
|
|
|
commonMain {
|
|
|
|
dependencies {
|
|
|
|
api internalProject("micro_utils.ktor.common")
|
2020-09-24 02:27:16 +00:00
|
|
|
api internalProject("micro_utils.coroutines")
|
2020-09-22 02:20:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jvmMain {
|
|
|
|
dependencies {
|
|
|
|
api "io.ktor:ktor-server:$ktor_version"
|
2020-09-26 15:42:05 +00:00
|
|
|
api "io.ktor:ktor-server-cio:$ktor_version"
|
2020-09-22 02:20:22 +00:00
|
|
|
api "io.ktor:ktor-server-host-common:$ktor_version"
|
|
|
|
api "io.ktor:ktor-websockets:$ktor_version"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|