A FileTree with a single base directory, which can be configured and modified.
You can obtain a ConfigurableFileTree
instance by calling Project.fileTree.
Type | Name and description |
---|---|
ConfigurableFileTree |
builtBy(Object... tasks) Registers some tasks which build the files of this collection. |
ConfigurableFileTree |
from(Object dir) Specifies base directory for this file tree using the given path. |
Set<Object> |
getBuiltBy() Returns the set of tasks which build the files of this collection. |
File |
getDir() Returns the base directory of this file tree. |
ConfigurableFileTree |
setBuiltBy(Iterable<?> tasks) Sets the tasks which build the files of this collection. |
ConfigurableFileTree |
setDir(Object dir) Specifies base directory for this file tree using the given path. |
Methods inherited from class | Name |
---|---|
interface Buildable |
getBuildDependencies |
interface DirectoryTree |
getDir, getPatterns |
interface FileTree |
getAsFileTree, matching, matching, plus, visit, visit |
interface PatternFilterable |
exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes |
Registers some tasks which build the files of this collection.
tasks
- The tasks. These are evaluated as per Task.dependsOn.Specifies base directory for this file tree using the given path. The path is evaluated as per Project.file.
dir
- The base directory.Returns the set of tasks which build the files of this collection.
Returns the base directory of this file tree.
Sets the tasks which build the files of this collection.
tasks
- The tasks. These are evaluated as per Task.dependsOn.Specifies base directory for this file tree using the given path. The path is evaluated as per Project.file.
dir
- The base directory.