Interface IvyConfigurationContainer
- All Superinterfaces:
Collection<IvyConfiguration>, Configurable<NamedDomainObjectContainer<IvyConfiguration>>, DomainObjectCollection<IvyConfiguration>, DomainObjectSet<IvyConfiguration>, Iterable<IvyConfiguration>, NamedDomainObjectCollection<IvyConfiguration>, NamedDomainObjectContainer<IvyConfiguration>, NamedDomainObjectSet<IvyConfiguration>, Set<IvyConfiguration>
The set of
IvyConfigurations that will be included in the IvyPublication.
Being a NamedDomainObjectContainer, a IvyConfigurationContainer provides
convenient methods for adding, querying, filtering, and applying actions to the set of IvyConfigurations.
plugins {
id 'ivy-publish'
}
def publication = publishing.publications.create("my-pub", IvyPublication)
def configurations = publication.configurations
configurations.create("extended", { extend "default"})
configurations.all {
extend "base"
}
-
Method Summary
Methods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface DomainObjectCollection
addAllLater, addLater, all, all, configureEach, disallowChanges, getElements, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypeMethods inherited from interface NamedDomainObjectCollection
add, addAll, addRule, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getByName, getCollectionSchema, getNamer, getNames, getRules, named, named, named, namedMethods inherited from interface NamedDomainObjectContainer
configure, create, create, create, maybeCreate, register, register