api / org.gradle.api.tasks / TaskDestroyables

TaskDestroyables

interface TaskDestroyables

Represents the files or directories that a org.gradle.api.Task destroys (removes).

Since
4.0

Functions

file

abstract fun file(path: Any): Unit

Registers a file or directory that this task destroys.

files

abstract fun files(vararg paths: Any): Unit

Registers some files that this task destroys.

register

abstract fun register(vararg paths: Any): Unit

Registers files or directories that this task destroys.