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.
Delete
task deleteFiles(type: Delete) { delete fileTree('dir/foo') { include '**/*.ext' } }
2.1m questions
2.1m answers
60 comments
57.0k users