Package: org.gradle.api.file

## [Java] Interface DeleteSpec

- A specification for deleting files from the filesystem.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `DeleteSpec` | `delete(Object... files)` Specifies the files to delete.
    `void` | `setFollowSymlinks(boolean followSymlinks)` Specifies whether or not symbolic links should be followed during deletion.

- - ### Method Detail

    - #### public DeleteSpec delete(Object... files)

      Specifies the files to delete.

      Parameters:
        `files` - the list of files which should be deleted. Any type of object accepted by Project.files

    - #### public void setFollowSymlinks(boolean followSymlinks)

      Specifies whether or not symbolic links should be followed during deletion.

      Parameters:
        `followSymlinks` - deletion will follow symlniks when true.