CacheSettings

Base Cache Settings

Describes generic cache settings which apply to all types of caches; see LocalCacheSettings and RemoteCacheSettings for further information.

See also

for the interface provided for local build cache options.

for the interface provided for remote build cache options.

Inheritors

Properties

Link copied to clipboard
abstract val enabled: Property<Boolean>

Indicates whether a given cache sub-system should be enabled or disabled (either a local cache or remote cache). If a caching sub-system is "disabled," it is not used at all for the current build.

Functions

Link copied to clipboard
open fun disable()

Shorthand function to disable this cache configuration.

Link copied to clipboard
open fun enable()

Shorthand function to enable this cache configuration.