An AndroidSourceDirectorySet represents a lit of directory input for an Android project.
Type | Name and description |
---|---|
org.gradle.api.tasks.util.PatternFilterable |
getFilter() Returns the filter used to select the source from the source directories. |
String |
getName() A concise name for the source directory (typically used to identify it in a collection). |
org.gradle.api.file.FileTree |
getSourceFiles() Returns the list of source files as a org.gradle.api.file.FileTree |
Set<File> |
getSrcDirs() Returns the resolved directories. |
AndroidSourceDirectorySet |
setSrcDirs(Iterable<?> srcDirs) Sets the source directories for this set. |
AndroidSourceDirectorySet |
srcDir(Object srcDir) Adds the given source directory to this set. |
AndroidSourceDirectorySet |
srcDirs(Object... srcDirs) Adds the given source directories to this set. |
Methods inherited from class | Name |
---|---|
interface org.gradle.api.tasks.util.PatternFilterable |
org.gradle.api.tasks.util.PatternFilterable#include([Ljava.lang.String;), org.gradle.api.tasks.util.PatternFilterable#include(groovy.lang.Closure), org.gradle.api.tasks.util.PatternFilterable#include(org.gradle.api.specs.Spec), org.gradle.api.tasks.util.PatternFilterable#include(java.lang.Iterable), org.gradle.api.tasks.util.PatternFilterable#exclude(groovy.lang.Closure), org.gradle.api.tasks.util.PatternFilterable#exclude([Ljava.lang.String;), org.gradle.api.tasks.util.PatternFilterable#exclude(java.lang.Iterable), org.gradle.api.tasks.util.PatternFilterable#exclude(org.gradle.api.specs.Spec), org.gradle.api.tasks.util.PatternFilterable#getIncludes(), org.gradle.api.tasks.util.PatternFilterable#getExcludes(), org.gradle.api.tasks.util.PatternFilterable#setIncludes(java.lang.Iterable), org.gradle.api.tasks.util.PatternFilterable#setExcludes(java.lang.Iterable) |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
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...)