Hi, can KMMBridge also publish -iOS and -jvm packa...
# touchlab-tools
l
Hi, can KMMBridge also publish -iOS and -jvm packages
i
Yes. for sure.
l
Do you have any sample code on how to do this? I managed to publish the -android packages to github, but -ios and -jvm packages are missing even though I configured them.
i
Copy code
Pretty much everything you'd need to configure to publish to GitHub Packages is listed here.

plugins {
    kotlin("multiplatform")
    `maven-publish`
    id("co.touchlab.kmmbridge") version "0.5.5"
}

group = "co.touchlab.somegroup"
version = "0.2"

kotlin {
    ios {
        binaries.framework()
    }
}

kmmbridge {
    mavenPublishArtifacts() // <- Publish using a Maven repo
    spm()
}

addGithubPackagesRepository() // <- Add the GitHub Packages repo
l
Thanks for the reply. I added the jvm and android target, but for example -jvm() package is missing.
Copy code
kotlin {
    ios {
        binaries.framework()
    }
    jvm()
    android {
     ...
    }
}
🎉 1