not sure if it’s been asked before/paged out of se...
# plugin-development
f
not sure if it’s been asked before/paged out of search, but somewhere between 8.6/8.9 onwards, it became not possible to automatically download the sources for the gradle api in IntelliJ. I tried it for gradle-api-7.6.4.jar and it appears to download it from “somewhere” into
~/<user.home>/.ideaLibSources
which IntelliJ seems to pick up. This does not happen with later versions of gradle for whatever reason. The workaround I’ve been doing is: • change the wrapper to
-all
distribution and refresh • go to a gradle class and select
Choose sources
• Go to
~/<user.home>/.gradle/wrapper/dists/gradle-<version>-all/<some-hash>/gradle-<version>/src
and select that This obviously doesn’t scale when gradle versions update automatically + many different gradle plugin repositories that I work between. Trying to find an issue on YouTrack and Gradle’s github issue tracker has proven difficult since “gradle” and “intellij” are such common search terms 😅 has anyone actually figured out what the issue is and got it working again? I have a rough feeling that: • https://github.com/gradle/gradle/pull/29320https://github.com/gradle/gradle/issues/29483 are somewhat involved, but not sure, hoping someone will know 🙏
same 1