Configurable File Tree
A FileTree with a single base directory, which can be configured and modified.
See also
Create an instance of this as a managed property (preferred).
Create an instance of this manually.
Functions
Link copied to clipboard
Adds this collection to an Ant task as a nested node.
Link copied to clipboard
Registers some tasks which build the files of this collection.
Link copied to clipboard
Adds an exclude spec.
Adds an ANT style exclude pattern.
Link copied to clipboard
Restricts the contents of this collection to those files which match the given criteria.
Link copied to clipboard
Specifies base directory for this file tree using the given path.
Link copied to clipboard
Returns this.
Link copied to clipboard
Returns a dependency which contains the tasks which build this artifact.
Link copied to clipboard
Returns the set of tasks which build the files of this collection.
Link copied to clipboard
Returns the contents of this file collection as a Provider of FileSystemLocation instances.
Link copied to clipboard
Returns the set of exclude patterns.
Link copied to clipboard
Returns the set of include patterns.
Link copied to clipboard
Returns the patterns which select the files under the base directory.
Link copied to clipboard
Returns the content of this collection, asserting it contains exactly one file.
Link copied to clipboard
Adds an include spec.
Adds an ANT style include pattern.
Link copied to clipboard
abstract fun matching(@DelegatesTo(value = PatternFilterable::class ) filterConfigClosure: Closure): FileTree
Restricts the contents of this tree to those files matching the given filter.
Link copied to clipboard
Returns a
FileCollection which contains the difference between this collection and the given collection.Link copied to clipboard
Returns a
FileCollection which contains the union of this collection and the given collection.Returns a
FileTree which contains the union of this tree and the given tree.Link copied to clipboard
Sets the tasks which build the files of this collection.
Link copied to clipboard
Specifies base directory for this file tree using the given path.
Link copied to clipboard
Set the allowable exclude patterns.
Link copied to clipboard
Set the allowable include patterns.
Link copied to clipboard
Link copied to clipboard
Visits the files and directories in this file tree.