enabled

abstract val enabled: Property<Boolean>(source)

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.

Enabling a cache sub-system only enables checks for cached objects (i.e. fetches). Pushes to the cache (i.e. uploads) are governed by other properties (and are enabled by default).