HasAttributes
, HasConfigurableAttributes<ConfigurationVariant>
, Named
public interface ConfigurationVariant extends Named, HasConfigurableAttributes<ConfigurationVariant>
Named.Namer
Modifier and Type | Method | Description |
---|---|---|
void |
artifact(java.lang.Object notation) |
Adds an artifact to this variant.
|
void |
artifact(java.lang.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.
|
java.util.Optional<java.lang.String> |
getDescription() |
Returns an optional note describing this variant.
|
getAttributes
attributes
@Incubating java.util.Optional<java.lang.String> getDescription()
PublishArtifactSet getArtifacts()
void artifact(java.lang.Object notation)
See ArtifactHandler
for details of the supported notations.
void artifact(java.lang.Object notation, Action<? super ConfigurablePublishArtifact> configureAction)
See ArtifactHandler
for details of the supported notations.