Skip to content

Conversation

@bigdaz
Copy link
Member

@bigdaz bigdaz commented Jun 28, 2024

Fixes #33
Fixes #24
Fixes #46
Fixes #169

bigdaz added 4 commits June 28, 2024 12:39
To cleanup Gradle User Home, a Gradle build must be executed.
Newer Gradle versions are able to cleanup the home directories of older versions,
but not vice-versa.

With this change, the latest version of Gradle is automatically provisioned
in order to run Gradle User Home cleanup. This ensures a consistent version of
Gradle is used for cleanup, and fixes #33 where Gradle is not pre-installed on
a custom runner.
Gradle 8.8 introduces new features that allow us to avoid using
timestamp manipulation to force the cleanup of the Gradle User Home directory.

This solution is simpler and more robust, but relies on Gradle 8.8+ always being
used for the cache cleanup operation.

Fixes #24
@bigdaz bigdaz merged commit dad038d into main Jun 28, 2024
@bigdaz bigdaz deleted the dd/gradle88-cleanup branch June 28, 2024 19:46
@bigdaz bigdaz added this to the 3.5.0 milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant