A PublishArtifact whose properties can be modified.
Type | Name 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. |
Methods inherited from class | Name |
---|---|
interface PublishArtifact |
getClassifier, getDate, getExtension, getFile, getName, getType |
interface Buildable |
getBuildDependencies |
Registers some tasks which build this artifact.
tasks
- The tasks. These are evaluated as per Task.dependsOn.Sets the classifier of this artifact.
classifier
- The classifier. May be null.Sets the extension of this artifact.
extension
- The extension. Should not be null.Sets the name of this artifact.
name
- The name. Should not be null.Sets the type of this artifact.
type
- The type. Should not be null.