Interface RemoteBuildCache
-
@Deprecated public interface RemoteBuildCacheDeprecated.since 1.21, replaced byRemoteBuildCacheConfigures the remote build cache.The specified values will take precedence over the values defined in the
gradle-enterprise.xml.- Since:
- 1.6.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ServergetServer()Deprecated.Gets the server configuration.booleanisEnabled()Deprecated.Whether the remote build cache is enabled.booleanisStoreEnabled()Deprecated.Whether storing build cache entries is enabled.voidsetEnabled(boolean enabled)Deprecated.Sets whether to enable the remote build cache.voidsetStoreEnabled(boolean storeEnabled)Deprecated.Sets whether to store build cache entries.
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
Deprecated.Whether the remote build cache is enabled.- Returns:
trueif the remote build cache is enabled,falseotherwise- Since:
- 1.6.5
-
setEnabled
void setEnabled(boolean enabled)
Deprecated.Sets whether to enable the remote build cache.Configuration via the
gradle.cache.remote.enabledsystem property will always take precedence.- Parameters:
enabled- whether to enable the remote build cache- Since:
- 1.6.5
-
isStoreEnabled
boolean isStoreEnabled()
Deprecated.Whether storing build cache entries is enabled.- Returns:
trueif storing build cache entries is enabled,falseotherwise- Since:
- 1.6.5
-
setStoreEnabled
void setStoreEnabled(boolean storeEnabled)
Deprecated.Sets whether to store build cache entries.Configuration via the
gradle.cache.remote.storeEnabledsystem property will always take precedence.- Parameters:
storeEnabled- whether to enable storing build cache entries- Since:
- 1.6.5
-
getServer
Server getServer()
Deprecated.Gets the server configuration.- Returns:
- the server configuration
- Since:
- 1.6.5
-
-