Package org.gradle.api.artifacts
Interface ConfigurationVariant
- All Superinterfaces:
- HasAttributes,- HasConfigurableAttributes<ConfigurationVariant>,- Named
public interface ConfigurationVariant
extends Named, HasConfigurableAttributes<ConfigurationVariant>
Represents some variant of an outgoing configuration.
- Since:
- 3.3
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier 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.Returns an optional note describing this variant.Methods inherited from interface org.gradle.api.attributes.HasAttributesgetAttributesMethods inherited from interface org.gradle.api.attributes.HasConfigurableAttributesattributes
- 
Method Details- 
getDescriptionReturns an optional note describing this variant.- Since:
- 7.5
 
- 
getArtifactsPublishArtifactSet getArtifacts()Returns the artifacts associated with this variant.
- 
artifactAdds an artifact to this variant.See ArtifactHandlerfor details of the supported notations.
- 
artifactAdds an artifact to this variant, configuring it using the given action.See ArtifactHandlerfor details of the supported notations.
 
-