# setDelete

open fun setDelete(targets: Set<Any>)(source)

### Deprecated

Use getTargetFiles property instead

Sets the files to be deleted by this task.

#### Since

4.0

#### Parameters

targets

A set of any type of object accepted by files

open fun setDelete(target: Any)(source)

### Deprecated

Use getTargetFiles property instead

Sets the files to be deleted by this task.

#### Parameters

target

Any type of object accepted by files