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