outgoingVariantsConnection

Overrides the way the outgoing variants are connected. Use this to publish the metadata to an already existing software component.

By default, a new software component named "apollo" is created.

service("service") {
outgoingVariantsConnection {
addToSoftwareComponent("java")
}
}