Interface ConfigurationVariant
- All Superinterfaces:
HasAttributes, HasConfigurableAttributes<ConfigurationVariant>, Named
@Incubating
public interface ConfigurationVariant
extends Named, HasConfigurableAttributes<ConfigurationVariant>
Represents some variant of an outgoing configuration.
- Since:
- 3.3
-
Nested Class Summary
Nested classes/interfaces inherited from interface Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an artifact to this variant.voidartifact(Object notation, Action<? super ConfigurablePublishArtifact> configureAction) Adds an artifact to this variant, configuring it using the given action.Returns the artifacts associated with this variant.Methods inherited from interface HasAttributes
getAttributesMethods inherited from interface HasConfigurableAttributes
attributes
-
Method Details
-
getArtifacts
PublishArtifactSet getArtifacts()Returns the artifacts associated with this variant. -
artifact
Adds an artifact to this variant.See
ArtifactHandlerfor details of the supported notations. -
artifact
Adds an artifact to this variant, configuring it using the given action.See
ArtifactHandlerfor details of the supported notations.
-