I'm creating a Kotlin Library. If I want this libr...
# multiplatform
j
I'm creating a Kotlin Library. If I want this library to have multiplatform support. Do I need any specific configuration or is it fine to just make sure that all libraries that I use do have multiplatform support? like coroutines?
t
All dependencies should be multiplatform to be used in common code.
Otherwise, the option is to create your own abstraction in your
common
code and have actual implementations in jvm/ios/js targets. Those targets can depend on non kotlin multiplatform libraries.
Secondly you need to adjust maven publish and some Gradle setup. That’s all.
j
Alright thanks đŸ™‚