A PublicationContainer is responsible for creating and managing Publication instances.
The set of available publication types is dependent on the application of particular plugins:
apply plugin: 'ivy-publish'
publishing.publications.create('publication-name', IvyPublication) {
// Configure the ivy publication here
}
The usual way to add publications is via a configuration block.
See the documentation for PublishingExtension.publications for examples of how to create and configure publications.
| Methods inherited from class | Name |
|---|---|
interface ExtensiblePolymorphicDomainObjectContainer |
registerFactory, registerFactory, registerBinding, create, create, maybeCreate, containerWithType, create, create, create, maybeCreate, configure, findAll, withType, matching, matching, add, addAll, getByName, getByName, getNamer, addRule, addRule, getRules, withType, getAsMap, getAt, matching, matching, findByName, getNames, all, all, findAll, withType, withType, withType, matching, matching, whenObjectRemoved, whenObjectRemoved, whenObjectAdded, whenObjectAdded, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, iterator, containsAll, removeAll, retainAll, add, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, addAll, iterator, containsAll, removeAll, retainAll, configure |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |