Interface IvyConfigurationContainer
- All Superinterfaces:
Collection<IvyConfiguration>, org.gradle.util.Configurable<NamedDomainObjectContainer<IvyConfiguration>>, DomainObjectCollection<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.
apply plugin: '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
addLater, all, all, configureEachLater, configureEachLater, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypeMethods inherited from interface NamedDomainObjectCollection
add, addAll, addRule, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getByName, getNamer, getNames, getRulesMethods inherited from interface NamedDomainObjectContainer
configure, create, create, create, maybeCreateMethods inherited from interface NamedDomainObjectSet
findAll, matching, matching, withType