HasAttributes
, HasConfigurableAttributes<ConfigurationVariant>
, Named
public 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.
|
getAttributes
attributes
PublishArtifactSet 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.