https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
n

Nicholas Bilyk

07/20/2019, 2:53 PM
Saturday morning troubles! I am publishing multi-platform libraries using the maven-publish plugin. It's set up in the default way that the kotlin multiplatform plugin configures the publishing. Everything is working as expected except that when I set them as dependencies, the source isn't included in IDEA. Source jars are being created properly, but the IDEA project structure doesn't see them. Any tips?
r

ribesg

07/21/2019, 12:11 AM
It’s basically broken half the time all the time
I can see it working, Invalidate Cache and Restart, and then it doesn’t work. Invalidate Cache and Restart again, and then it works. Or maybe not. It’s purely random for me
n

Nicholas Bilyk

07/23/2019, 9:19 PM
well, for me it's consistently not giving me the source jars. It doesn't even list them in the project structure. I can add them manually but of course they'll get dropped next gradle sync.