https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
a

axeon

03/30/2024, 5:07 PM
Hello there, could someone provide guidance on how to publish my Kotlin/Native library to Maven Central? Currently, I use this plugin to publish from my machine, but I can't compile for macOS. Hence, I'm considering going for GH Actions to build for each target. Though, I'm not sure about the publishing process. Should I publish all targets at once, or does Maven Central allow me to publish/update them separately? The build script itself: https://github.com/vyfor/KPresence/blob/master/build.gradle.kts
Can I add another component as long as it's not published?
l

Landry Norris

03/31/2024, 1:51 AM
If you look at the publishing section of gradle tasks, you'll see a list of individual publishing tasks. You can publish any individual package by running the associated task.
2 Views