TaskCaching (Gradle API 3.2.1)
Date: 2016-11-22

org.gradle.api.tasks

## Interface TaskCaching

-     @Incubating
      public interface TaskCaching

  Configuration for caching task outputs.

- - ### Method Summary

    Methods
    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.

- - ### Method Detail

    - #### useLocalCache

          void useLocalCache()

      Use the default local directory cache. The cache directory path defaults to `$GRADLE_HOME/task-cache`. It can also be overridden via the `org.gradle.cache.tasks.directory` system property.

    - #### useLocalCache

          void useLocalCache(File directory)

      Use a local directory cache in the given directory.

    - #### useCacheFactory

          void useCacheFactory(org.gradle.api.internal.tasks.cache.TaskOutputCacheFactory factory)

      Use the give task output cache factory.