Buildable, PublicationArtifactpublic interface MavenArtifact extends PublicationArtifact
MavenPublication.| Modifier and Type | Method | Description | 
|---|---|---|
| String | getClassifier() | The classifier used to publish the artifact file. | 
| String | getExtension() | The extension used to publish the artifact file, never  null. | 
| void | setClassifier(String classifier) | Sets the classifier used to publish the artifact file. | 
| void | setExtension(String extension) | Sets the extension used to publish the artifact file. | 
getBuildDependenciesbuiltBy, getFileString getExtension()
null.
 For an artifact without an extension, this value will be an empty String.void setExtension(String extension)
extension - The extension.@Nullable String getClassifier()
null value (the default) indicates that this artifact will be published without a classifier.void setClassifier(@Nullable
                   String classifier)
classifier - The classifier.