We occasionally get the following:
* What went wrong:
Execution failed for task ':...:compile...Java'.
> Failed to store cache entry for task ':...:compile...Java'
Notes:
- Does not happen always. When re-run the problem likely disappears.
- Presently using Gradle 6.2.1
- Build cache was enabled via
gradle.properties
. Since disabling it I did not see it (but that does not mean I won’t). - We usually run with
--parallel
.
What can I do to cause/avoid it? Is this a defect? Does it have a workaround or a fix in 6.2.2 or 6.3?