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 Summary
Modifier and TypeMethodDescriptionControls whether the build cache is enabled.Controls whether the build cache is enabled.Controls whether a given build can store outputs in the build cache.getPush()Controls whether a given build can store outputs in the build cache.voidsetEnabled(boolean enabled) Sets whether the build cache is enabled.voidsetPush(boolean push) Sets whether a given build can store outputs in the build cache.
-
Method Details
-
getEnabled
Controls whether the build cache is enabled. Added for Kotlin source compatibility. -
setEnabled
void setEnabled(boolean enabled) Sets whether the build cache is enabled. -
getIsEnabled
Controls whether the build cache is enabled. -
getPush
Controls whether a given build can store outputs in the build cache. -
setPush
void setPush(boolean push) Sets whether a given build can store outputs in the build cache. -
getIsPush
Controls whether a given build can store outputs in the build cache. Added for Kotlin source compatibility.
-