This message was deleted.
# develocity
s
This message was deleted.
d
Instead of trying to save/restore the project build state (
<project-root>/.gradle
and
<project-root>/**/build
), I would enable the local build-cache and save/restore the local build-cache state (
~/.gradle/caches/build-cache-1
). That way you can focus on restoring the Gradle User Home but start with a clean project state.
This is the strategy implemented for GitHub Actions using https://github.com/gradle/gradle-build-action, and it works pretty well.
j
Awesome Daz. Thanks!