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)
Deprecated.
use
NamedDomainObjectContainer.create(String) instead |
SourceSet |
add(String name,
Closure configureClosure)
Deprecated.
|
configure, create, create, create, maybeCreatefindAll, matching, matching, withTypeadd, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getRulesall, all, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withType@Deprecated SourceSet add(String name) throws InvalidUserDataException
NamedDomainObjectContainer.create(String) insteadname - The name of the new source set.InvalidUserDataException - when a source set with the given name already exists in this container.@Deprecated SourceSet add(String name, Closure configureClosure) throws InvalidUserDataException
NamedDomainObjectContainer.create(String, groovy.lang.Closure) insteadname - 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.