Groovy Documentation

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

org.gradle.util.Configurable
  org.gradle.api.publish.ivy.IvyConfigurationContainer
      org.gradle.api.NamedDomainObjectCollection
          java.lang.Iterable
              org.gradle.api.NamedDomainObjectContainer
                  org.gradle.api.DomainObjectCollection
                      org.gradle.api.NamedDomainObjectSet
                          java.util.Collection
All Superinterfaces:
Configurable, NamedDomainObjectCollection, Iterable, NamedDomainObjectContainer, DomainObjectCollection, 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.create("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, 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.7-rc-2