Package org.gradle.caching.configuration
Interface BuildCache
- All Known Implementing Classes:
- AbstractBuildCache,- DirectoryBuildCache,- HttpBuildCache
public interface BuildCache
Configuration object for a build cache.
- Since:
- 3.5
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturns whether the build cache is enabled.booleanisPush()Returns whether a given build can store outputs in the build cache.voidsetEnabled(boolean enabled) Sets whether the build cache is enabled.voidsetPush(boolean enabled) Sets whether a given build can store outputs in the build cache.
- 
Method Details- 
isEnabledboolean isEnabled()Returns whether the build cache is enabled.
- 
setEnabledvoid setEnabled(boolean enabled) Sets whether the build cache is enabled.
- 
isPushboolean isPush()Returns whether a given build can store outputs in the build cache.
- 
setPushvoid setPush(boolean enabled) Sets whether a given build can store outputs in the build cache.
 
-