@Incubating public interface PublicationContainer extends NamedDomainObjectSet<Publication>
PublicationContainer is responsible for declaring and managing publications.
Publications cannot be added to a publication container by users at this time. Publication plugins
are responsible for creating Publication instances in the container.
See the documentation for the Ivy Publishing plugin for more information.Publication| Modifier and Type | Method and Description |
|---|---|
Publication |
getAt(String name)
Locates an object by name, failing if there is no such task.
|
Publication |
getByName(String name)
Locates an object by name, failing if there is no such object.
|
findAll, matching, matching, withTypeadd, addAll, addRule, addRule, findByName, getAsMap, getByName, getNamer, getRulesall, all, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, withType, withTypePublication getByName(String name) throws UnknownPublicationException
getByName in interface NamedDomainObjectCollection<Publication>name - The object nameUnknownPublicationExceptionPublication getAt(String name) throws UnknownPublicationException
NamedDomainObjectCollection.getByName(String). You can call this method in your build script by using the groovy [] operator.getAt in interface NamedDomainObjectCollection<Publication>name - The object nameUnknownPublicationException