# BuildCache

interface BuildCache(source)

Configuration object for a build cache.

#### Since

3.5

#### Inheritors

AbstractBuildCache

## Functions

getEnabled
Link copied to clipboard
abstract fun getEnabled(): Property<Boolean>
Controls whether the build cache is enabled.
getIsEnabled
Link copied to clipboard
@ReplacedBy(value = "getEnabled()")
open fun getIsEnabled(): Property<Boolean>
Controls whether the build cache is enabled.
getIsPush
Link copied to clipboard
@ReplacedBy(value = "getPush()")
open fun getIsPush(): Property<Boolean>
Controls whether a given build can store outputs in the build cache.
getPush
Link copied to clipboard
abstract fun getPush(): Property<Boolean>
Controls whether a given build can store outputs in the build cache.