Package org.gradle.caching.local

# Class DirectoryBuildCache

java.lang.Object
org.gradle.caching.configuration.AbstractBuildCache
org.gradle.caching.local.DirectoryBuildCache

All Implemented Interfaces:
  `BuildCache`

public abstract class DirectoryBuildCache extends AbstractBuildCache
Configuration object for the local directory build cache.

Since:
  3.5

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `(package private) static class`
  `DirectoryBuildCache.DirectoryAdapter`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DirectoryBuildCache()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract DirectoryProperty`
  `getDirectory()`
  The directory to use to store the build cache.
  `protected abstract org.gradle.internal.file.PathToFileResolver`
  `getFileResolver()`
  Deprecated.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface org.gradle.caching.configuration.BuildCache

  `getEnabled, getIsEnabled, getIsPush, getPush`

- ## Constructor Details

  - ### DirectoryBuildCache

    public DirectoryBuildCache()

- ## Method Details

  - ### getDirectory

    @Optional public abstract DirectoryProperty getDirectory()
    The directory to use to store the build cache.

  - ### getFileResolver

    @Inject @Deprecated protected abstract org.gradle.internal.file.PathToFileResolver getFileResolver()
    Deprecated.