Package org.gradle.api.file
Schnittstelle DeleteSpec
- Alle bekannten Implementierungsklassen:
Delete
public interface DeleteSpec
A specification for deleting files from the filesystem.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungSpecifies the files to delete.voidsetFollowSymlinks(boolean followSymlinks) Specifies whether or not symbolic links should be followed during deletion.
-
Methodendetails
-
delete
Specifies the files to delete.- Parameter:
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.- Parameter:
followSymlinks- deletion will follow symlinks when true.
-