Package org.gradle.api.file
Interface DeleteSpec
-
- All Known Implementing Classes:
Delete
public interface DeleteSpecA specification for deleting files from the filesystem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteSpecdelete(java.lang.Object... files)Specifies the files to delete.voidsetFollowSymlinks(boolean followSymlinks)Specifies whether or not symbolic links should be followed during deletion.
-
-
-
Method Detail
-
delete
DeleteSpec delete(java.lang.Object... files)
Specifies the files to delete.- Parameters:
files- the list of files which should be deleted. Any type of object accepted byProject.files(Object...)
-
setFollowSymlinks
void setFollowSymlinks(boolean followSymlinks)
Specifies whether or not symbolic links should be followed during deletion.- Parameters:
followSymlinks- deletion will follow symlinks when true.
-
-