if IDEA is not going to 'decompile to Kotlin', it would be good if there would be an easy way to share sources for libraries that are open source. Are there any plans about it? https://youtrack.jetbrains.com/issue/KT-19808
d
diesieben07
09/20/2017, 10:20 AM
The approach is usually to include the source jar with your maven publication.
d
diego-gomez-olvera
09/20/2017, 10:45 AM
is there any tutorial about how to do it? It would be good if it becomes the 'default' for libraries and/or open source contributors are aware of it.
d
diesieben07
09/20/2017, 11:28 AM
It is the default, actually. I don't use maven as a build tool, but the gradle maven publishing plugin does it by default.
👍 1
n
natpryce
09/20/2017, 12:38 PM
And IntelliJ gives you an option to download sources when you add a Maven library in the GUI, or when you navigate into a library JAR for which you haven’t yet downloaded the sources.