Buildable
, PublicationArtifact
public 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.
|
getBuildDependencies
builtBy, getFile
String 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.