# DirectoryBuildCache

abstract class DirectoryBuildCache : AbstractBuildCache

Configuration object for the local directory build cache.

#### Since

3.5

## Constructors

DirectoryBuildCache
Link copied to clipboard
constructor()

## Properties

directory
Link copied to clipboard
@get: Nullable
open var directory: Any
push
Link copied to clipboard
private open var push: Boolean

## Functions

isEnabled
Link copied to clipboard
open fun isEnabled(): Boolean
Returns whether the build cache is enabled.
isPush
Link copied to clipboard
open fun isPush(): Boolean
Returns whether a given build can store outputs in the build cache.
setEnabled
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Sets whether the build cache is enabled.