/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.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Hi @gpeal8 thanks for the report,
we released a new version (2.1.0) of Cache Push step, which fixes this issue.
Please update the step version to 2.1.0.