[INVISIBLE_MEMBER] Cannot access 'downloadSources': it is private in 'IdeaModule'
and the same for downloadJavadoc
a
Adam S
05/23/2024, 7:21 AM
I think you can just delete them, they don't do anything any more. IntelliJ uses a new mechanism, and Gradle hasn't updated the idea plugin. But I'm not 100% certain.
v
Vampire
05/23/2024, 9:22 AM
But to answer the question, in Kotlin it is
Copy code
isDownloadSources = true
isDownloadJavadoc = true
a
Adam S
05/31/2024, 7:29 AM
update to my comment above: the isDownloadSources/Javadoc options do still work. I think I was confused because I usually work with KMP and I think that KGP usually automatically downloads the sources anyway.