gradle
Toggle table of contents
9.7.0-20260608154234+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
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
get
Enabled
Link copied to clipboard
API
abstract
fun
getEnabled
(
)
:
Property
<
Boolean
>
Controls whether the build cache is enabled.
get
Is
Enabled
Link copied to clipboard
API
@
ReplacedBy
(
value
=
"getEnabled()"
)
open
fun
getIsEnabled
(
)
:
Property
<
Boolean
>
Controls whether the build cache is enabled.
get
Is
Push
Link copied to clipboard
API
@
ReplacedBy
(
value
=
"getPush()"
)
open
fun
getIsPush
(
)
:
Property
<
Boolean
>
Controls whether a given build can store outputs in the build cache.
get
Push
Link copied to clipboard
API
abstract
fun
getPush
(
)
:
Property
<
Boolean
>
Controls 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
(
push
:
Boolean
)
Sets whether a given build can store outputs in the build cache.