MutableLocalCacheSettings

Mutable Settings: Local Cache

Local cache settings for the Buildless Gradle plugin, in mutable form for use in Gradle's settings.gradle.kts file. The plugin configures sensible defaults if not otherwise specified.

Inheritors

Properties

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