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, maybeCreate, containerWithType, create, create, maybeCreate, configure, create, create, create, findAll, withType, matching, matching, getNamer, addRule, addRule, withType, getAt, getAsMap, matching, matching, findByName, getRules, getNames, add, addAll, getByName, getByName, findAll, withType, withType, withType, whenObjectAdded, whenObjectAdded, whenObjectRemoved, whenObjectRemoved, matching, matching, all, all, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, iterator, stream, containsAll, removeAll, retainAll, removeIf, parallelStream, forEach, add, remove, equals, hashCode, clear, isEmpty, contains, size, toArray, toArray, iterator, spliterator, addAll, containsAll, removeAll, retainAll, configure |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |