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' } }
1.4m articles
1.4m replys
5 comments
56.9k users