public interface ConfigurablePublishArtifact extends PublishArtifact
PublishArtifact whose properties can be modified.| Modifier and Type | Method and Description |
|---|---|
ConfigurablePublishArtifact |
builtBy(Object... tasks)
Registers some tasks which build this artifact.
|
void |
setClassifier(String classifier)
Sets the classifier of this artifact.
|
void |
setExtension(String extension)
Sets the extension of this artifact.
|
void |
setName(String name)
Sets the name of this artifact.
|
void |
setType(String type)
Sets the type of this artifact.
|
getClassifier, getDate, getExtension, getFile, getName, getTypegetBuildDependenciesvoid setName(String name)
name - The name. Should not be null.void setExtension(String extension)
extension - The extension. Should not be null.void setType(String type)
type - The type. Should not be null.void setClassifier(String classifier)
classifier - The classifier. May be null.ConfigurablePublishArtifact builtBy(Object... tasks)
tasks - The tasks. These are evaluated as per Task.dependsOn(Object...).