gradle
Toggle table of contents
9.7.0-20260526005751+0000
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.caching.local
/
DirectoryBuildCache
Directory
Build
Cache
API
abstract
class
DirectoryBuildCache
:
AbstractBuildCache
(
source
)
Configuration object for the local directory build cache.
Since
3.5
Members
Constructors
Directory
Build
Cache
Link copied to clipboard
API
constructor
(
)
Properties
directory
Link copied to clipboard
API
@get:
Nullable
open
var
directory
:
Any
push
Link copied to clipboard
API
private
open
var
push
:
Boolean
Functions
is
Enabled
Link copied to clipboard
API
open
fun
isEnabled
(
)
:
Boolean
Returns whether the build cache is enabled.
is
Push
Link copied to clipboard
API
open
fun
isPush
(
)
:
Boolean
Returns whether a given build can store outputs in the build cache.
set
Enabled
Link copied to clipboard
API
open
fun
setEnabled
(
enabled
:
Boolean
)
Sets whether the build cache is enabled.