I’ve just tried making a multiplatform library, and I can actually use it as a dependency in downstream apps, but the only thing missing is the sources when I click through into one of the library’s classes (both js and jvm downstream consumers)
Searching here for mentions I found this:
https://kotlinlang.slack.com/archives/C3PQML5NU/p1573209686439300
I had a look in my local maven repo, and indeed, the sourcesElements that Gradle usually puts in for a maven publication are missing from the module files published here.
The library doesn’t specify any publishing configuration at all, the multiplatform plugin is synthesising the publications entirely- which is cool, as far as it goes, just not quite all the way there yet…
This is with Gradle 6.2, and I get the same results with K 1.3.71 and 1.4-M1.
Also, the sources in the sources jar that is written to the repo include the “commonMain/” prefix, is that expected?