but I'm unable to import `kotlinx.cli.*` on my mai...
# kotlin-native
v
but I'm unable to import
kotlinx.cli.*
on my main Kt file
s
@jonnyzzz do I understand correctly that kotlinx.cli is not a multiplatform library?
v
On github it says it's independent of platform
but just for my understanding, is this the way to correctly declare a dependency on a platform agnostic project? let's serialization or ktor-http-client?
s
On github it says it’s independent of platform
However its build script doesn’t seem to describe a multiplatform library: https://github.com/Kotlin/kotlinx.cli/blob/master/build.gradle
but just for my understanding, is this the way to correctly declare a dependency on a platform agnostic project? let’s serialization or ktor-http-client?
I believe it is described in the documentation: https://kotlinlang.org/docs/reference/building-mpp-with-gradle.html#setting-up-a-multiplatform-project
j
kotlinx.cli is too old to be MPP library, AFAIK