# AbstractBuildCache

abstract class AbstractBuildCache : BuildCache(source)

Base implementation for build cache service configuration.

#### Since

3.5

#### Inheritors

HttpBuildCache
DirectoryBuildCache

## Constructors

AbstractBuildCache
Link copied to clipboard
constructor()

## 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.
setPush
Link copied to clipboard
open fun setPush(push: Boolean)
Sets whether a given build can store outputs in the build cache.