Groovy Documentation

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

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

Gradle API 1.12