Package org.gradle.api.tasks
Interface TaskDestroyables
-
@Incubating public interface TaskDestroyables
Represents the files or directories that aTask
destroys (removes).- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
file(Object path)
Deprecated.Useregister(Object...)
instead.void
files(Object... paths)
Deprecated.Useregister(Object...)
instead.void
register(Object... paths)
Registers files or directories that this task destroys.
-
-
-
Method Detail
-
register
void register(Object... paths)
Registers files or directories that this task destroys.- Parameters:
paths
- The files or directories that will be destroyed. The given paths are evaluated as perProject.files(Object...)
.- Since:
- 4.3
-
files
@Deprecated void files(Object... paths)
Deprecated.Useregister(Object...)
instead.Registers some files that this task destroys.- Parameters:
paths
- The files that will be destroyed. The given paths are evaluated as perProject.files(Object...)
.
-
file
@Deprecated void file(Object path)
Deprecated.Useregister(Object...)
instead.Registers a file or directory that this task destroys.- Parameters:
path
- A file that will be destroyed. The given path is evaluated as perProject.files(Object...)
.
-
-