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 |
registerBinding, registerFactory, registerFactory, containerWithType, maybeCreate, create, create, configure, maybeCreate, create, create, create, matching, matching, findAll, withType, getRules, findByName, getNames, getByName, getByName, matching, matching, withType, getAt, getAsMap, getNamer, addRule, addRule, add, addAll, matching, matching, findAll, withType, withType, withType, whenObjectRemoved, whenObjectRemoved, whenObjectAdded, whenObjectAdded, 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 |