HasAttributes, HasConfigurableAttributes<ConfigurationVariant>, Namedpublic interface ConfigurationVariant extends Named, HasConfigurableAttributes<ConfigurationVariant>
Named.Namer| Modifier and Type | Method | Description |
|---|---|---|
void |
artifact(Object notation) |
Adds an artifact to this variant.
|
void |
artifact(Object notation,
Action<? super ConfigurablePublishArtifact> configureAction) |
Adds an artifact to this variant, configuring it using the given action.
|
PublishArtifactSet |
getArtifacts() |
Returns the artifacts associated with this variant.
|
getAttributesattributesPublishArtifactSet getArtifacts()
void artifact(Object notation)
See ArtifactHandler for details of the supported notations.
void artifact(Object notation, Action<? super ConfigurablePublishArtifact> configureAction)
See ArtifactHandler for details of the supported notations.