gradle
Toggle table of contents
9.1.0-20250628022042+0000
API
Platform filter
API
Switch theme
Search in API
gradle
gradle
/
org.gradle.caching.configuration
/
BuildCache
Build
Cache
API
interface
BuildCache
(
source
)
Configuration object for a build cache.
Since
3.5
Inheritors
AbstractBuildCache
Members
Functions
is
Enabled
Link copied to clipboard
API
abstract
fun
isEnabled
(
)
:
Boolean
Returns whether the build cache is enabled.
is
Push
Link copied to clipboard
API
abstract
fun
isPush
(
)
:
Boolean
Returns whether a given build can store outputs in the build cache.
set
Enabled
Link copied to clipboard
API
abstract
fun
setEnabled
(
enabled
:
Boolean
)
Sets whether the build cache is enabled.
set
Push
Link copied to clipboard
API
abstract
fun
setPush
(
enabled
:
Boolean
)
Sets whether a given build can store outputs in the build cache.