I'm working on a presentation around Kotlin Multiplatform. I've got a simple KMM app working, but to make the demonstration more compelling as an alternative to our code sharing strategies,
I'm also trying to build the common (multiplatform) library with an npm library artifact that I can consume in a NextJS app. However, I've not figured out a way to get the package version to appear in the generated package.json—which makes consuming it as an npm package problematic.
It seems like something might be up with the gradle plugin. I manually deleted the top-level build folder and rebuilt with the following gradle config and it worked.