Hello, World! On a Kotlin with gradle project, on ...
# intellij
b
Hello, World! On a Kotlin with gradle project, on IntelliJ community 2020.3.1, when navigating to one of the Kotlin's stdlib function, it shows me the decompiled version. Clicking "Download Sources" executes the following:
Copy code
> Task :DownloadSources
Attempt to download sources from MavenLocal
Attempt to download sources from BintrayJCenter
Sources were downloaded to /Users/bod/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.4.21-2/243af1040cd400e4267d0b6909977d34d9d5770a/kotlin-stdlib-1.4.21-2-sources.jar
Then if I click on "Choose Sources" and navigate to this location, it still doesn't work... Any ideas on how to fix this annoyance? 🙏
a
Try to clear Gradle caches, remove .idea directory and do a clean Gradle import into IDEA, so that all IDEA modules are regenerated.
b
thanks a lot! I will try that.