org.gradle.caching

## Interface BuildCache

- All Superinterfaces:
    AutoCloseable, BuildCacheService, Closeable
  All Known Implementing Classes:
    MapBasedBuildCache

  Deprecated.
  Use `BuildCacheService` instead.

      @Deprecated
      public interface BuildCache
      extends BuildCacheService

  Cache protocol interface to be implemented by a build cache service.

  Build cache implementations should report a non-fatal failure as a `BuildCacheException`. Non-fatal failures could include failing to retrieve a cache entry or unsuccessfully completing an upload a new cache entry. Gradle will not fail the build when catching a `BuildCacheException`, but it may disable caching for the build if too many failures occur.

  All other failures will be considered fatal and cause the Gradle build to fail. Fatal failures could include failing to read or write cache entries due to file permissions, authentication or corruption errors.

  Since:
    3.3

- - ### Method Summary

    - ### Methods inherited from interface org.gradle.caching.BuildCacheService

      `close, getDescription, load, store`