Hi all,
my project uses Gradle Wrapper for building. I've configured default Gradle cache instruction :
pipelines:
default:
- step:
caches:
- gradle
According to docs, default Gradle cache targets '~/.gradle/wrapper' folder, but output of my build shows that downloaded Gradle dist gets unzipped to '/root/.gradle':
Unzipping /root/.gradle/wrapper/dists/gradle-4.7-all/4cret0dgl5o3b21weaoncl7ys/gradle-4.7-all.zip to /root/.gradle/wrapper/dists/gradle-4.7-all/4cret0dgl5o3b21weaoncl7ys
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-4.7-all/4cret0dgl5o3b21weaoncl7ys/gradle-4.7/bin/gradle
So to me caching misses the right folder, and Gradle is download again and again with every run of the pipeline.
Maybe I should setup a custom cache targetting '/root/.gradle/wrapper'?
Any hint?
Thanks
Christian