| API Documentation: | Delete |
|---|
Deletes files or directories. Example:
task makePretty(type: Delete) {
delete 'uglyFolder', 'uglyFile'
}
| Property | Description |
delete | The set of files which will be deleted by this task. |
targetFiles | The resolved set of files which will be deleted by this task. |
| Method | Description |
delete(targets) | Adds some files to be deleted by this task. The given targets are evaluated as per |
FileCollection targetFiles (read-only)
The resolved set of files which will be deleted by this task.
Adds some files to be deleted by this task. The given targets are evaluated as per Project.files().