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