Package org.gradle.api.publish.maven
Schnittstelle MavenArtifact
- Alle Superschnittstellen:
Buildable,PublicationArtifact
An artifact published as part of a
MavenPublication.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe classifier used to publish the artifact file.The extension used to publish the artifact file, nevernull.voidsetClassifier(String classifier) Sets the classifier used to publish the artifact file.voidsetExtension(String extension) Sets the extension used to publish the artifact file.Von Schnittstelle geerbte Methoden org.gradle.api.Buildable
getBuildDependenciesVon Schnittstelle geerbte Methoden org.gradle.api.publish.PublicationArtifact
builtBy, getFile
-
Methodendetails
-
getExtension
String getExtension()The extension used to publish the artifact file, nevernull. For an artifact without an extension, this value will be an empty String. -
setExtension
Sets the extension used to publish the artifact file.- Parameter:
extension- The extension.
-
getClassifier
The classifier used to publish the artifact file. Anullvalue (the default) indicates that this artifact will be published without a classifier. -
setClassifier
Sets the classifier used to publish the artifact file.- Parameter:
classifier- The classifier.
-