Daz DeBoer
bbe1574290
Add some TODOs to the code for future reference
2021-09-13 11:50:07 -06:00
Daz DeBoer
6d1455a33e
Tidy-up caching code
...
- Extracted common code for Gradle User Home and Project .gradle caches
into abstract supertype.
- Improve error handling by checking error types
2021-09-07 15:17:39 -06:00
Daz DeBoer
4d37378696
Consolidate cache-enabled options
2021-09-05 21:38:33 -06:00
Daz DeBoer
d7ed6d7e8d
Extract cache key generation into common function
2021-09-05 17:11:50 -06:00
Daz DeBoer
b85ac67c9a
Seed the cache key with workflow id in CI
...
This will eliminate cache entries from previous workflow runs, allowing
us to test cache functionality in isolation. If the `CACHE_KEY_SEED` environment
variable is not set, this will have no impact.
2021-08-27 12:52:01 -06:00
Daz DeBoer
6fca6b3929
Add support for read-only caching in v2
2021-08-26 17:25:49 -06:00
Daz DeBoer
5340f6e816
Add cache for project .gradle dir
...
- For now, this is limited to configuration-cache directory
2021-08-24 12:52:51 -06:00