An artifact published as part of a IvyPublication.
Type | Name and description |
---|---|
void |
builtBy(Object... tasks) Registers some tasks which build this artifact. |
String |
getClassifier() The classifier used to publish the artifact file. |
String |
getConf() A comma separated list of public configurations in which this artifact is published. |
String |
getExtension() The extension used to publish the artifact file, never null .
|
File |
getFile() The actual file contents to publish. |
String |
getName() The name used to publish the artifact file, never null .
|
String |
getType() The type used to publish the artifact file, never null . |
void |
setClassifier(String classifier) Sets the classifier used to publish the artifact file. |
void |
setConf(String conf) Sets a comma separated list of public configurations in which this artifact is published. |
void |
setExtension(String extension) Sets the extension used to publish the artifact file. |
void |
setName(String name) Sets the name used to publish the artifact file. |
void |
setType(String type) Sets the type used to publish the artifact file. |
Methods inherited from class | Name |
---|---|
interface Buildable |
getBuildDependencies |
Registers some tasks which build this artifact.
tasks
- The tasks. These are evaluated as per Task.dependsOn. The classifier used to publish the artifact file.
A null
value (the default) indicates that this artifact will be published without a classifier.
A comma separated list of public configurations in which this artifact is published.
The '*' wildcard is used to designate that the artifact is published in all public configurations.
A null
value (the default) indicates that this artifact will be published without a conf attribute.
The extension used to publish the artifact file, never null
.
For an artifact without an extension, this value will be an empty String.
The actual file contents to publish.
The name used to publish the artifact file, never null
.
Defaults to the name of the module that this artifact belongs to.
The type used to publish the artifact file, never null
.
Sets the classifier used to publish the artifact file.
classifier
- The classifier.Sets a comma separated list of public configurations in which this artifact is published. The '*' wildcard can be used to designate that the artifact is published in all public configurations.
conf
- The value of 'conf' for this artifact.Sets the extension used to publish the artifact file.
extension
- The extension.Sets the name used to publish the artifact file.
name
- The name.Sets the type used to publish the artifact file.
type
- The type.