Just to clarify, as I do not find the docs <here> ...
# community-support
s
Just to clarify, as I do not find the docs here to be super clear: If the Gradle wrapper configures a Gradle version that's globally available in
PATH
on the build machine, it will not get bootstrapped, right? Or does the wrapper only look among versions that have been bootstrapped by the wrapper before to
~/.gradle/wrapper/
?
v
The
PATH
should be absolutely irrelevant. The
PATH
is just what is looked for when calling
gradle
(not
gradlew
which typically will not be in the
PATH
. The wrapper could anyway not use any pre-installed version, because you can get different Gradle distributions with the same version, for example if you use a custom distribution with just some added init scripts. So the wrapper should always only search for the auto-provisioned distributions it put into the
GRADLE_USER_HOME
, stored by checksum on the download URL.
Everything else I would consider a bug
s
So the wrapper should always only search for the auto-provisioned distributions it put into the
GRADLE_USER_HOME
, stored by checksum on the download URL.
Thanks, good to know for sure now.
👌 1
v
If you think this is not clear enough in the docs, you should open a doc improvement request or PR. 🙂
s