LocalCacheSetup

Mutable settings class for local build cache settings.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override var directory: DirectoryProperty

Directory where local cached objects are stored; if unset, Buildless sets a sensible default. If this value is set before the Buildless plugin is invoked, the user's value takes precedence and this value is rendered inert.

Link copied to clipboard
open override var 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.