GradleUserHomeCleanupServiceTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use Deleter for cache directory cleanup

    • -1
    • +8
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 7 more files in changeset.
Revert "Clean up distributions at most every 24 hours"

This reverts commit d997fd68ece6591bf3f882b94220030899a5b4f9.

    • -15
    • +0
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 5 more files in changeset.
Clean up distributions at most every 24 hours

Since the distribution cleanup was made independent of the

version-specific cache cleanup in #5981, it was run every time the

daemon was stopped. Now, instead of introducing yet another

`gc.properties` file, it is only executed if version-specific cache

cleanup was executed but regardless whether the latter actually deleted

something.

Fixes #6083.

    • -0
    • +15
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 5 more files in changeset.
Clean up distributions at most every 24 hours

Since the distribution cleanup was made independent of the

version-specific cache cleanup in #5981, it was run every time the

daemon was stopped. Now, instead of introducing yet another

`gc.properties` file, it is only executed if version-specific cache

cleanup was executed but regardless whether the latter actually deleted

something.

Fixes #6083.

    • -0
    • +15
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 5 more files in changeset.
Rename fixture class

    • -1
    • +1
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 5 more files in changeset.
Report progress when cleaning Gradle user home

    • -1
    • +3
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 10 more files in changeset.
Revert "Clean up distributions independently from caches"

This reverts commit 40ad77c5cd530a3536ce9fc34c23bd64657746f0.

    • -67
    • +0
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 12 more files in changeset.
Clean up distributions independently from caches

Prior to this commit, distributions downloaded by the Gradle Wrapper

were deleted as a subsequent step when deleting an unused

version-specific cache. Since the latter only supports Gradle >= 3.4,

older distributions were not deleted. Now, distribution cleanup checks

for existing version-specific cache directories. Thus, distributions

that no longer have a corresponding cache directory are deleted for all

versions of Gradle.

Resolves #5981.

    • -0
    • +67
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 12 more files in changeset.
Clean up distributions independently from caches

Prior to this commit, distributions downloaded by the Gradle Wrapper

were deleted as a subsequent step when deleting an unused

version-specific cache. Since the latter only supports Gradle >= 3.4,

older distributions were not deleted. Now, distribution cleanup checks

for existing version-specific cache directories. Thus, distributions

that no longer have a corresponding cache directory are deleted for all

versions of Gradle.

Resolves #5981.

    • -0
    • +67
    ./GradleUserHomeCleanupServiceTest.groovy
  1. … 12 more files in changeset.