Source Directory Set
A SourceDirectorySet
represents a set of source files composed from a set of source directories, along with associated include and exclude patterns.
SourceDirectorySet
extends FileTree. The contents of the file tree represent the source files of this set, arranged in a hierarchy. The file tree is live and reflects changes to the source directories and their contents.
You can create an instance of SourceDirectorySet
using the sourceDirectorySet method.
You can filter the files that are obtainable in this set using patterns via include and include (or any overload of these methods). The set of included source directories themselves are not filtered.
Inheritors
Functions
Link copied to clipboard
Link copied to clipboard
abstract fun <T : Task?> compiledBy(taskProvider: TaskProvider<T>, mapping: (T) -> DirectoryProperty)
Define the task responsible for processing the source.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the directory property that is bound to the task that produces the output via compiledBy.
Link copied to clipboard
Configure the directory to assemble the compiled classes into.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the filter used to select the source from the source directories.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the source directories that make up this set, represented as a FileCollection.
Link copied to clipboard
Returns the source directories that make up this set.
Link copied to clipboard
Returns the source directory trees that make up this set.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the source directories for this set.
Link copied to clipboard
Adds the given source to this set.
Link copied to clipboard
Link copied to clipboard
Adds the given source directory to this set.
Link copied to clipboard
Adds the given source directories to this set.
Link copied to clipboard