/root/.gradle is 5.4gb in the build cache



Our build cache for /root/.gradle is 5.4gb and adds 3+ minutes for the cache pull and the cache push step. What is the recommended action here? Should we add !/root/.gradle to our ignored paths?

Our build artifacts are only ~130mb.


I tried adding all combinations of !/root/.gradle/, !/bitrise/src/Android/gradle.deps, !Android/gradle.deps and it is still caching /root/.gradle. Why is that?



We are aware couple of related issues with the cache steps. We are working on fixing these issues. Sorry for the inconvenience.