https://kotlinlang.org logo
Title
j

Javier

10/05/2021, 3:34 PM
is it mandatory to publish a kmp library using
jvm("desktop")
to get it working? I am getting issues where I can reference the functions from this lib in consumers. I have same publish logic than others kmp libraries, only difference is it has compose plugin and libs
is there an example about how to publish them? I am trying with
jvm("desktop")
and I am having the same issue
a

Alexander Kurasov[JB]

10/05/2021, 4:27 PM
why jvm(“desktop”)? Try jvm(“multiplatform”). I tried to publish wizard-generated MPP project as a library some time ago and it worked.
j

Javier

10/05/2021, 5:38 PM
It is not related to compose, I have something wrong in that publication, but I can't find it, it is related to AGP
I am copypasting from another repo which is working perfectly but nothing, it will be a stupid thing for sure...
everything is published except commonMain