On Projects
> Add Projects
> Operating System: Linux
> Platform: 2.0
> Language: Gradle (Java)
;
This page shows the sample yaml file of Gradle for bootstrap, I think maybe this yaml file has a mistake about caching.
Now this yaml contains following configuration;
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "build.gradle" }}
In my thinking, paths
should be ~/.gradle
instead of ~/.m2
. Because gradle doesn’t cache contents into ~/.m2
.