Groovy Documentation

org.gradle.api.publish.ivy
[Java] Interface IvyConfigurationContainer

org.gradle.api.NamedDomainObjectCollection
  org.gradle.api.DomainObjectCollection
      org.gradle.api.NamedDomainObjectContainer
          org.gradle.util.Configurable
              java.lang.Iterable
                  org.gradle.api.NamedDomainObjectSet
                      java.util.Collection
                          org.gradle.api.publish.ivy.IvyConfigurationContainer
All Superinterfaces:
NamedDomainObjectCollection, DomainObjectCollection, NamedDomainObjectContainer, Configurable, Iterable, NamedDomainObjectSet, Collection

@Incubating
public interface IvyConfigurationContainer
extends NamedDomainObjectContainer

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.add("my-pub", IvyPublication)
 def configurations = publication.configurations

 configurations.create("extended", { extend "default"})
 configurations.all {
     extend "base"
 }
 


Method Summary
 
Methods inherited from interface NamedDomainObjectContainer
configure, create, create, maybeCreate
 
Methods inherited from interface NamedDomainObjectSet
findAll, matching, matching, withType
 
Methods inherited from interface NamedDomainObjectCollection
add, addAll, addRule, addRule, findByName, getAsMap, getAt, getByName, getByName, getNamer, getRules, matching, matching, withType
 
Methods inherited from interface Set
add, equals, hashCode, clear, contains, isEmpty, size, toArray, toArray, addAll, iterator, remove, containsAll, removeAll, retainAll
 

Gradle API 1.5-rc-3