Giuseppe Barbieri
02/12/2025, 4:42 PM./gradlew build
it keeps downloading the distro again, the structure seems to be fine
$ cd ${GRADLE_USER_HOME}
$ find . | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
.
|-gradle.properties
|-init.d
| |-elara.nexus.init.gradle.kts
|-wrapper
| |-dists
| | |-gradle-8.12.1-bin
| | | |-eumc4uhoysa37zql93vfjkxy0
| | | | |-gradle-8.12.1
| | | | | |-init.d
| | | | | | |-readme.txt
| | | | | |-bin
| | | | | | |-gradle.bat
| | | | | | |-gradle
| | | | | |-NOTICE
| | | | | |-LICENSE
| | | | | |-lib
| | | | | | |-native-platform-osx-aarch64-0.22-milestone-27.jar
| | | | | | |-gradle-base-services-groovy-8.12.1.jar
| | | | | | |-gradle-base-asm-8.12.1.jar
I also see in the logs ./gradlew
deletes the right directory
$ ./gradlew build
Downloading <https://services.gradle.org/distributions/gradle-8.12.1-bin.zip>
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%
Deleting directory /home/user/.gradle/wrapper/dists/gradle-8.12.1-bin/eumc4uhoysa37zql93vfjkxy0/gradle-8.12.1
any idea why?Thomas Broyer
02/12/2025, 5:02 PM./gradlew
vs. gradle
?
(fwiw, I use the https://hub.docker.com/_/gradle image in CI with gradle
rather than ./gradlew
; and to make sure I use the same version, I run gradle wrapper
and check whether it modified the gradle/wrapper/
files)Vampire
02/12/2025, 5:05 PMgradle-8.12.1-bin.zip.ok
is missing, it is assumed the provisioning failed mit-unzip so the archive is got freshly, old try deleted, and freshly unzippedGiuseppe Barbieri
02/12/2025, 8:11 PMzip.ok
file was indeed the culpritGiuseppe Barbieri
02/12/2025, 8:12 PMAny reason for usingthis is the setup I inherited I just gave it a try to an official docker gradle image, but I had some issue. I'll probably investigate it furthervs../gradlew
?gradle