I seem to have lost the source attachment with the latest update (I can no longer go to a source inside the Kotlin libraries). When I click on the "Attach sources" hyperlink and I get presented with a dialog, which path should I put there? It's not quite clear to me from the folder structure of the github project...
It's easy: you need to put the path to root folder which contains sources. If this folder is under jar, there's no problem: you can expand jars as usual folders in this dialog.
If you lost sources of Kotlin runtime, try removing kotlin-runtime.jar and reinstalling it using editor warning bar. If this doesn’t help, maybe there is a bug in navigation to sources.
build.gradle in kotlin library project has setting:
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
i got an empty sources jar
is it possible that on older versions of kotlin it works correctly? because i tested it before and it worked Oo
I assume that after m12 manipulations with possibility to place java and kotlin files in same folder it was broken.
now i changed it to:
task sourcetypepepe: Jar) {
from sourceSets.main.allSources
}