MicroUtils/ktor/server/build.gradle

27 lines
694 B
Groovy
Raw Permalink Normal View History

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")
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"
}
}
}
}