As in the title, how can I tell ./gradlew clean
to also delete out folders produces by IntelliJ ? It seems that IntelliJ uses this directory for execution context.
Even if it's possible to use the delete
method of the Project
instance in a doLast
closure, you should actually use the delete
method of the Delete
task:
clean {
delete 'out' // interpreted relative to the project directory
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With