Hello everyone! I'm trying to publish a Kotlin mul...
# multiplatform
r
Hello everyone! I'm trying to publish a Kotlin multiplatform library to Maven. I only have the common module for now, and I would like to publish it so that it is available for all platforms. How should I do this? I see that I have two project types:
metadata
and
kotlinMultiplatform
. Which one should I publish with with name? Thanks in advance
g
You cannot do this now. There is no “common” format for publishing now, the only way: publish it for every platform
There are some ideas how it may work in future, but it will not be available soon, so the only way is publish platform-specific libraries
r
Ok thanks. Do you have any project I can look at that publishes it for each platform?
Nvm, I'm looking at how Ktor does this
g
I actually have %) But only as experiment, there a few examples, also in new version of MPP plugin many things are working already