Can we use a module wiritten in K/N with a Kotlin-...
# kotlin-native
k
Can we use a module wiritten in K/N with a Kotlin-JVM module?
a
I guess if it's pure kotlin, just copy the src code to a JVM module, besides that idk
g
As Alon said, only if this module doesn’t use platform specific apis (no java apis, only pure Kotlin). To reuse it you can move code from k/n module to common module, so now you can use it on any platform: jvm, js, native
s
To read more about what Andrey is talking about, read https://kotlinlang.org/docs/reference/multiplatform.html