Package org.gradle.api.artifacts
Schnittstelle ConfigurationVariant
- Alle Superschnittstellen:
HasAttributes,HasConfigurableAttributes<ConfigurationVariant>,Named
public interface ConfigurationVariant
extends Named, HasConfigurableAttributes<ConfigurationVariant>
Represents some variant of an outgoing configuration.
- Seit:
- 3.3
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Named
Named.Namer -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds 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.Von Schnittstelle geerbte Methoden org.gradle.api.attributes.HasAttributes
getAttributesVon Schnittstelle geerbte Methoden org.gradle.api.attributes.HasConfigurableAttributes
attributes
-
Methodendetails
-
getDescription
Returns an optional note describing this variant.- Seit:
- 7.5
-
getArtifacts
PublishArtifactSet getArtifacts()Returns the artifacts associated with this variant. -
artifact
Adds an artifact to this variant.See
ArtifactHandlerfor details of the supported notations. -
artifact
Adds an artifact to this variant, configuring it using the given action.See
ArtifactHandlerfor details of the supported notations.
-