|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.ConfigurablePublishArtifact org.gradle.api.artifacts.PublishArtifact org.gradle.api.Buildable
public interface ConfigurablePublishArtifact extends PublishArtifact
A PublishArtifact whose properties can be modified.
Method Summary | |
---|---|
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 interface PublishArtifact | |
---|---|
getClassifier, getDate, getExtension, getFile, getName, getType |
Methods inherited from interface Buildable | |
---|---|
getBuildDependencies |
Method Detail |
---|
public ConfigurablePublishArtifact builtBy(Object... tasks)
tasks
- The tasks. These are evaluated as per Task.dependsOn.
public void setClassifier(String classifier)
classifier
- The classifier. May be null.
public void setExtension(String extension)
extension
- The extension. Should not be null.
public void setName(String name)
name
- The name. Should not be null.
public void setType(String type)
type
- The type. Should not be null.
Gradle API 1.12