interface DeleteSpec
A specification for deleting files from the filesystem.
abstract fun delete(vararg files: Any): DeleteSpec
Specifies the files to delete. |
|
abstract fun setFollowSymlinks(followSymlinks: Boolean): Unit
Specifies whether or not symbolic links should be followed during deletion. |
open class Delete : ConventionTask, DeleteSpec
Deletes files or directories. Example: Be default symlinks will not be followed when deleting files. To change this behavior call Delete#setFollowSymlinks(boolean) with true. On systems that do not support symlinks, this will have no effect.
|