Riccardo Montagnin

    Riccardo Montagnin

    3 years ago
    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
    gildor

    gildor

    3 years ago
    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
    Riccardo Montagnin

    Riccardo Montagnin

    3 years ago
    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
    gildor

    gildor

    3 years ago
    I actually have %) But only as experiment, there a few examples, also in new version of MPP plugin many things are working already