Join Slack
Powered by
I have a project that I'm trying to update from jv...
# multiplatform
j
Jonathan Ellis
06/10/2022, 9:38 PM
I have a project that I'm trying to update from jvm only to multiplatform (
https://github.com/jbellis/delaunator
). I took the basic multiplatform gradle build and added the maven-publish plugin. When I publish it locally, everything works. But when I try to consume it as a dependency from jitpack with a jvm-based client, I get an error that gradle couldn't find a jvm variant of the library (
https://gist.github.com/jbellis/0d1cc53a64721f72b163a3b9152825e9
). The jitpack pom is here
https://jitpack.io/com/github/jbellis/delaunator/1.0.3.3/delaunator-1.0.3.3.pom
and the build log is here
https://jitpack.io/com/github/jbellis/delaunator/1.0.3.2/build.log
. Nothing looks broken to me, but gradle is ignoring the -jvm artifact for some reason. Any ideas?
b
Big Chungus
06/10/2022, 11:41 PM
KMP just plain doesn't work with jitpack. Try gh packages or sonatype
j
Jonathan Ellis
06/10/2022, 11:54 PM
TIL. thanks
3
Views
Open in Slack
Previous
Next