abstract fun <T : BuildCache> local(type: Class<T>): T
Configures the local cache with the given type.
If a local build cache has already been configured with a different type, this method replaces it.
Storing ("push") in the local build cache is enabled by default.
type
- the type of local cache to configure.
abstract fun <T : BuildCache> local(type: Class<T>, configuration: Action<in T>): T
Configures the local cache with the given type.
If a local build cache has already been configured with a different type, this method replaces it.
If a local build cache has already been configured with the same type, this method configures it.
Storing ("push") in the local build cache is enabled by default.
type
- the type of local cache to configure.
configuration
- the configuration to execute against the remote cache.
abstract fun local(configuration: Action<in BuildCache>): Unit
Executes the given action against the local configuration.
configuration
- the action to execute against the local cache configuration.