public interface SourceSetContainer extends NamedDomainObjectContainer<SourceSet>, NamedDomainObjectSet<SourceSet>
SourceSetContainer manages a set of SourceSet objects.| Modifier and Type | Method and Description |
|---|---|
SourceSet |
add(String name)
Adds a source set with the given name.
|
SourceSet |
add(String name,
Closure configureClosure)
Adds a source set with the given name.
|
configure, create, create, maybeCreatefindAll, matching, matching, withTypeadd, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getRulesall, all, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypeSourceSet add(String name) throws InvalidUserDataException
name - The name of the new source set.InvalidUserDataException - when a source set with the given name already exists in this container.SourceSet add(String name, Closure configureClosure) throws InvalidUserDataException
name - The name of the new source set.configureClosure - The closure to use to configure the source set.InvalidUserDataException - when a source set with the given name already exists in this container.