Kotlin, OSGI and Javadoc

I’m using Kotlin in an OSGI environment, so I use kotlin-osgi-bundle for this purpose.

Unfortunately, when I get the bundle from Maven (any recent version of Kotlin), the source and javadoc jars are empty. Thus, I cannot access the Kotlin Javadoc from IntelliJ.

Is it possible to build those artifacts along with the bundle?
(I’m not sure if I should ask to Maven team or Kotlin team.)

Thanks in advance for any reply.

IME, Kotlin published javadoc JARs are often empty because the JAR is required for Sonatype Nexus publish validation and Dokka is undermaintained. I’d say open a YouTrack issue pointing to the empty javadoc JAR.

I think it should be possible to merge the sources of kotlin-stdlib and kotlin-reflect and provide the result as the sources of kotlin-osgi-bundle.
Regarding the javadoc jars — we’re not convinced yet that they gain a lot of value.

Thank you for your reply.
In fact, I’m more interested in the sources, since IntelliJ is able to display the Javadoc from the sources.

Related issue: https://youtrack.jetbrains.com/issue/KT-28492