Sebastian Schuberth
05/23/2025, 8:27 AMPATH
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/
?Vampire
05/23/2025, 8:34 AMPATH
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.Vampire
05/23/2025, 8:34 AMSebastian Schuberth
05/23/2025, 8:36 AMSo the wrapper should always only search for the auto-provisioned distributions it put into theThanks, good to know for sure now., stored by checksum on the download URL.GRADLE_USER_HOME
Vampire
05/23/2025, 8:40 AMSebastian Schuberth
05/23/2025, 9:44 AM