MutableRemoteCacheSettings

Mutable Settings: Remote Cache

Remote 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. Remote caching is typically not possible unless an API key is resolvable.

Inheritors

Properties

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.

Link copied to clipboard
abstract override var push: Property<Boolean>

Whether build outputs will be uploaded to the cache as needed; enabled by default.

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.