Closed msridhar closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
848b0b1
) 86.98% compared to head (701dd3c
) 86.98%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
quick question due to my unfamiliarity with these: would it mess with user's local java installations or is it project-specific and will be put in gradle's cache folder or somewhere?
quick question due to my unfamiliarity with these: would it mess with user's local java installations or is it project-specific and will be put in gradle's cache folder or somewhere?
It will not mess with any local installations; the downloaded toolchain is placed in the Gradle cache. Also, if Gradle's toolchain auto-detection finds a local installation of the right version of the JDK, nothing gets downloaded.
See https://github.com/gradle/foojay-toolchains. With this plugin, if relevant toolchains are not present on the local machine (e.g., for JDK 8 or JDK 21), Gradle will automatically download an appropriate distribution and place it in the local Gradle cache. This plugin is officially supported by Gradle, so I think it's safe to add. Without this plugin, new contributors may run into issues running basic commands like
./gradlew compileJava
since it requires multiple JDKs to be installed in order to succeed.