I am using Gradle and would like to delete all files with a certain extension. Is that something Gradle can do?
Use the Gradle Delete
task.
task deleteFiles(type: Delete) { delete fileTree('dir/foo') { include '**/*.ext' } }
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