-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Clean up junk from gradle's user home (~/.gradle/.tmp). #14385 #14387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
I'll merge this in. Low risk and we can always revert if needed. |
|
||
// See LUCENE-9471. We redirect temporary location for gradle | ||
// so that it doesn't pollute user's tmp. Wipe it during a clean though. | ||
|
||
configure(rootProject) { | ||
gradle.buildFinished { | ||
// we clean up the java.io.tmpdir we've redirected gradle to use (LUCENE-9471). | ||
// these are still used and populated with junk. | ||
rootProject.delete fileTree(".gradle/tmp").matching { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add a comment above that this is in project's directory. This caused confusion in the original discussion!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all fine :-) thanks
No description provided.