https://kotlinlang.org logo
#ktor
Title
# ktor
j

Justin

11/13/2021, 7:23 PM
Is there an example anywhere of using Ktor Server (EAP) in a Kotlin Multiplatform project that targets K/N (macOS/iOS)? I see that the artifacts for
ktor-server-core
and
ktor-server-cio
exist in maven (e.g. https://maven.pkg.jetbrains.space/public/p/ktor/eap/io/ktor/ktor-server-core-macosarm64/) but I can't seem to figure out how to configure my build.gradle.kts to get the right dependencies (a lot of dependency could not be found errors regardless of which version of the EAP I target).
e

ESchouten

11/14/2021, 9:35 AM
Perhaps this could be of any help https://github.com/ESchouten/KtorNativeServer
💯 1
s

suresh

11/15/2021, 4:19 PM
Just curious, what are you folks using for db access in ktor native ? I seems like exposed in not multi platform yet.