DirectoryBuildCache

Configuration object for the local directory build cache.

Since

3.5

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
The directory to use to store the build cache.
Link copied to clipboard
abstract fun getEnabled(): Property<Boolean>
Controls whether the build cache is enabled.
Link copied to clipboard
@ReplacedBy(value = "getEnabled()")
open fun getIsEnabled(): Property<Boolean>
Controls whether the build cache is enabled.
Link copied to clipboard
@ReplacedBy(value = "getPush()")
open fun getIsPush(): Property<Boolean>
Controls whether a given build can store outputs in the build cache.
Link copied to clipboard
abstract fun getPush(): Property<Boolean>
Controls whether a given build can store outputs in the build cache.
Link copied to clipboard
open fun setDirectory(@Nullable directory: @Nullable Any)
Sets the directory to use to store the build cache.
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Sets whether the build cache is enabled.
Link copied to clipboard
open fun setPush(push: Boolean)
Sets whether a given build can store outputs in the build cache.