Enabling cache in build
To enable the cache you have two options:
- Run the build with the
--build-cachecommand line paramenter
org.gradle.caching=truein your gradle.properties file.
Once that has been done, Gradle will activate all caches defined in the build.
What gets cached?
What gets cached is determined by what you build and what other Gradle plugins you have in the build.
For caching to work the plugins that you have included in your build needs to support it as well. All plugins provided by Devsoap or Gradle have built-in support for Gradle caching and will work out of the box.
Where are the cache artifacts stored?
The cache artifacts are stored in a Amazon S3 bucket in the Amazon cloud managed by Devsoap. The bucket has a cache retention policy of one week for your uploaded artifacts.