CacheConfigurations

Configures caches stored in the user home directory. Note that these values can be read at any time, but can only be configured via an init script, ideally stored in the init.d directory in the user home directory.

Since

8.0

Functions

Link copied to clipboard
abstract fun buildCache(cacheConfiguration: Action<in CacheResourceConfiguration>)
Configures caching for entries in the local build cache.
Link copied to clipboard
abstract fun createdResources(cacheConfiguration: Action<in CacheResourceConfiguration>)
Configures caching for resources that are created by Gradle during the course of a build.
Link copied to clipboard
abstract fun downloadedResources(cacheConfiguration: Action<in CacheResourceConfiguration>)
Configures caching for resources that are downloaded during Gradle builds.
Link copied to clipboard
Returns the cache configuration for local build cache.
Link copied to clipboard
abstract fun getCleanup(): Property<Cleanup>
Returns the cache cleanup settings that apply to all caches.
Link copied to clipboard
Returns the cache configuration for created resources.
Link copied to clipboard
Returns the cache configuration for downloaded resources.
Link copied to clipboard
Configures how caches should be marked, if at all.
Link copied to clipboard
Returns the cache configuration for wrapper distributions that are released Gradle versions.
Link copied to clipboard
Returns the cache configuration for wrapper distributions that are released Gradle versions.
Link copied to clipboard
abstract fun releasedWrappers(cacheConfiguration: Action<in CacheResourceConfiguration>)
Configures caching for wrapper distributions that are released Gradle versions.
Link copied to clipboard
abstract fun snapshotWrappers(cacheConfiguration: Action<in CacheResourceConfiguration>)
Configures caching for wrapper distributions that are snapshot Gradle versions.