Hey folks, is anyone aware of an updated KMP libra...
# multiplatform
i
Hey folks, is anyone aware of an updated KMP library template that works with the Maven Central Portal? https://github.com/Kotlin/multiplatform-library-template/issues/29 I used the JB template and followed the instructions and was very surprised to find out that it seems to no longer work. I guess I can dig myself and contribute to it but unfortunately, I don't have much free time these days. If anyone knows how can I setup my Maven Central KMP library deploys via GitHub Actions it would be much appreciated 🙏
Given the heavy marketing around KMP, IMO it makes sense to keep the official KMP templates up-to-date so folks evaluating Kotlin can have a nice dev-exp
e
I think the Central Portal is still in alpha, and it's not for new artifacts; it's for new publishers. That being said I think there are some Gradle plugins that support it (e.g. https://github.com/vanniktech/gradle-maven-publish-plugin/releases/tag/0.28.0)
thank you color 1
i
Yeah, I'm a new publisher. I wanted to contribute with a few small libs that we often copy-paste between our projects
The https://github.com/vanniktech/gradle-maven-publish-plugin looks promising! Is there a sample Kotlin Multiplatform targeting all platforms? It'll spare me some Gradle configuration trouble 🙏
This is my setup for reference
e
I'm not on the Portal yet, so I don't have examples of it, but someone else might.
🙌 1
i
Yup, found that Arrow uses the same plugin. Thanks for sharing it!
p
Hi folks - we have revamped the KMP library template with much better READMEs and project structures. If you have a moment, we'd love for you to take a look! https://github.com/Kotlin/multiplatform-library-template