Gradle Build Cache Node
4.0Schema URL
Type:
object
The configuration format for build cache nodes
Properties
version
const: 4
required
The version of the config file model (must be 4).
cache
object object, variant
registration
object | null object | null, variant
uiAccess
object
variant, variant, variant, variant
1 nested properties
type
enum
required
Definitions
Entry(String,NodeCacheUser)
object
key
string
required
A user of the build cache
3 nested properties
level
string
required
The level of the access for the build cache user
password
required
Sha256HashedSecretString string, variant
note
string | null
Some optional free text
hashCode()
integer
required
NodeCacheUser
object
A user of the build cache
level
string
required
The level of the access for the build cache user
password
required
Sha256HashedSecretString string, variant
note
string | null
Some optional free text
Sha256HashedSecretString
string
TargetSizeFixed
object
Use a fixed target cache size
type
const: "fixed"
size
integer
The total available size of the cache in MiB
min=1
TargetSizeMaxAvailable
object
Set the target cache size dynamically based on the disk volume's capacity
type
const: "maxAvailable"
UiAccessDisabled
object
Access to the build cache node UI is disabled
type
const: "disabled"
UiAccessGenerated
object
Generated as startup credentials used for secure access to cache node UI
type
const: "generated"
UiAccessOpen
object
Access to the build cache node UI is open for anyone
type
const: "open"
UiAccessSecure
object
Credentials used for secure access to cache node UI
password
required
Sha256HashedSecretString string, variant
username
string
required
The username for securing the cache node UI
type
const: "secure"