Gradle Delete Task: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
Deletes files or directories. | Deletes files or directories. | ||
<syntaxhighlight lang='groovy'> | |||
task delete(type: Delete) { | |||
delete 'some-folder', 'some-file' | |||
followSymlinks = true | |||
} | |||
</syntaxhighlight> |
Revision as of 22:08, 20 May 2018
External
Internal
Overview
Deletes files or directories.
task delete(type: Delete) {
delete 'some-folder', 'some-file'
followSymlinks = true
}