Named
, SoftwareComponent
@Incubating public interface AdhocComponentWithVariants extends SoftwareComponent
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
void |
addVariantsFromConfiguration(Configuration outgoingConfiguration,
Action<? super ConfigurationVariantDetails> action) |
Declares an additional variant to publish, corresponding to an additional feature.
|
void addVariantsFromConfiguration(Configuration outgoingConfiguration, Action<? super ConfigurationVariantDetails> action)
outgoingConfiguration
- the configuration corresponding to the variant to use as source of dependencies and artifactsaction
- the action to execute in order to determine if a configuration variant should be published or not