An AndroidSourceDirectorySet represents a lit of directory input for an Android project.
Type | Name and description |
---|---|
PatternFilterable |
getFilter() Returns the filter used to select the source from the source directories. |
java.lang.String |
getName() A concise name for the source directory (typically used to identify it in a collection). |
FileTree |
getSourceFiles() Returns the list of source files as a org.gradle.api.file.FileTree |
java.util.Set<java.io.File> |
getSrcDirs() Returns the resolved directories. |
AndroidSourceDirectorySet |
setSrcDirs(java.lang.Iterable<?> srcDirs) Sets the source directories for this set. |
AndroidSourceDirectorySet |
srcDir(java.lang.Object srcDir) Adds the given source directory to this set. |
AndroidSourceDirectorySet |
srcDirs(java.lang.Object... srcDirs) Adds the given source directories to this set. |
Returns the filter used to select the source from the source directories.
A concise name for the source directory (typically used to identify it in a collection).
Returns the list of source files as a org.gradle.api.file.FileTree
Returns the resolved directories.
Sets the source directories for this set.
srcDirs
- The source directories. These are evaluated as for
org.gradle.api.Project#files(Object...)Adds the given source directory to this set.
srcDir
- The source directory. This is evaluated as for
org.gradle.api.Project#file(Object)Adds the given source directories to this set.
srcDirs
- The source directories. These are evaluated as for
org.gradle.api.Project#files(Object...)