DirectoryBuildCacheServiceFactoryTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move FileAccessTimeJournal to :pineapple

    • -1
    • +1
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 20 more files in changeset.
Use file access time journal for build cache

Reuse `DefaultFileAccessTimeJournal` in for tracking file access in

`DirectoryBuildCacheServiceFactory` for consistency with other caches

and to reduce the number of file operations.

Resolves gradle/gradle-private#1337.

    • -1
    • +3
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 2 more files in changeset.
Use age-based strategy to clean local build cache

Signed-off-by: Lóránt Pintér <lorant@gradle.com>

    • -2
    • +2
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 13 more files in changeset.
Move creating CleanupAction back to user

    • -2
    • +2
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 4 more files in changeset.
Detangle PersistentCache cleanup action dependencies

- Introduce a new CleanupAction

- Decorate CleanupActions via CleanupActionFactory

- Remove the special case for keeping .part files

- Ask PersistentCache for "reserved" files, these files should never be cleaned up

- Reduce the number of build operations produced when cleaning a PersistentCache

Signed-off-by: Sterling Greene <sterling@gradle.com>

    • -2
    • +6
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 23 more files in changeset.
Move DirectoryBuildCacheServiceFactory to build-cache

    • -1
    • +5
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 5 more files in changeset.
Move 'org.gradle.caching' to build-cache

+review REVIEW-6562

    • -0
    • +83
    ./DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 150 more files in changeset.