You may also use a closure or Spec to specify which files to include or exclude. The closure or Spec
is passed a FileTreeElement, and must return a boolean value.

If no include patterns or specs are specified, then all files in this container will be included. If any include
patterns or specs are specified, then a file is included if it matches any of the patterns or specs.

If no exclude patterns or spec are specified, then no files will be excluded. If any exclude patterns or specs are
specified, then a file is include only if it matches none of the patterns or specs.

include

Adds an ANT style include pattern. This method may be called multiple times to append new patterns and multiple
patterns may be specified in a single call.
If includes are not provided, then all files in this container will be included. If includes are provided, then a
file must match at least one of the include patterns to be processed.

include

Adds an ANT style include pattern. This method may be called multiple times to append new patterns and multiple
patterns may be specified in a single call.
If includes are not provided, then all files in this container will be included. If includes are provided, then a
file must match at least one of the include patterns to be processed.

include

Adds an include spec. This method may be called multiple times to append new specs.
If includes are not provided, then all files in this container will be included. If includes are provided, then a
file must match at least one of the include patterns or specs to be included.

include

Adds an include spec. This method may be called multiple times to append new specs. The given closure is passed a
FileTreeElement as its parameter.
If includes are not provided, then all files in this container will be included. If includes are provided, then a
file must match at least one of the include patterns or specs to be included.

exclude

Adds an ANT style exclude pattern. This method may be called multiple times to append new patterns and multiple
patterns may be specified in a single call.
If excludes are not provided, then no files will be excluded. If excludes are provided, then files must not match
any exclude pattern to be processed.

exclude

Adds an ANT style exclude pattern. This method may be called multiple times to append new patterns and multiple
patterns may be specified in a single call.
If excludes are not provided, then no files will be excluded. If excludes are provided, then files must not match
any exclude pattern to be processed.

exclude

Adds an exclude spec. This method may be called multiple times to append new specs.
If excludes are not provided, then no files will be excluded. If excludes are provided, then files must not match
any exclude pattern to be processed.