@Incubating public interface TaskCaching
Modifier and Type | Method and Description |
---|---|
void |
useCacheFactory(org.gradle.api.internal.tasks.cache.TaskOutputCacheFactory factory)
Use the give task output cache factory.
|
void |
useLocalCache()
Use the default local directory cache.
|
void |
useLocalCache(File directory)
Use a local directory cache in the given directory.
|
void useLocalCache()
$GRADLE_HOME/task-cache
.
It can also be overridden via the org.gradle.cache.tasks.directory
system property.void useLocalCache(File directory)
void useCacheFactory(org.gradle.api.internal.tasks.cache.TaskOutputCacheFactory factory)