@Incubating public interface ConfigurationVariant extends Named, HasConfigurableAttributes<ConfigurationVariant>
Named.Namer
Modifier and Type | Method and 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.
|
attributes
getAttributes
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.