|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.DomainObjectCollectionorg.gradle.api.NamedDomainObjectContainer
org.gradle.api.tasks.SourceSetContainer
org.gradle.api.NamedDomainObjectCollection
public interface SourceSetContainer extends NamedDomainObjectCollection, NamedDomainObjectContainer
A SourceSetContainer manages a set of SourceSet objects.
Method Summary | |
---|---|
SourceSet
|
add(java.lang.String name)
Adds a source set with the given name. |
SourceSet
|
add(java.lang.String name, groovy.lang.Closure configureClosure)
Adds a source set with the given name. |
Methods inherited from interface NamedDomainObjectContainer | |
---|---|
addRule, addRule, getRules |
Methods inherited from interface NamedDomainObjectCollection | |
---|---|
findByName, getAsMap, getAt, getByName, getByName, matching, matching, withType |
Methods inherited from interface DomainObjectCollection | |
---|---|
all, all, allObjects, allObjects, findAll, getAll, matching, matching, whenObjectAdded, whenObjectAdded, whenObjectRemoved, withType, withType, withType |
Methods inherited from interface java.lang.Iterable | |
---|---|
java.lang.Iterable#iterator() |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public SourceSet add(java.lang.String name)
name
- The name of the new source set.
public SourceSet add(java.lang.String name, groovy.lang.Closure configureClosure)
name
- The name of the new source set.configureClosure
- The closure to use to configure the source set.
Groovy Documentation