interface ConfigurablePublishArtifact : PublishArtifact
A PublishArtifact whose properties can be modified.
abstract fun builtBy(vararg tasks: Any): ConfigurablePublishArtifact
Registers some tasks which build this artifact. |
|
abstract fun setClassifier(classifier: String): Unit
Sets the classifier of this artifact. |
|
abstract fun setExtension(extension: String): Unit
Sets the extension of this artifact. |
|
abstract fun setName(name: String): Unit
Sets the name of this artifact. |
|
abstract fun setType(type: String): Unit
Sets the type of this artifact. |
abstract fun getClassifier(): String
Returns the classifier of this published artifact, if any. |
|
abstract fun getDate(): Date
Returns the date that should be used when publishing this artifact. This is used in the module descriptor accompanying this artifact (the ivy.xml). If the date is not specified, the current date is used. If this artifact is published without an module descriptor, this property has no relevance. |
|
abstract fun getExtension(): String
Returns the extension of this published artifact. Often the extension is the same as the type, but sometimes this is not the case. For example for an ivy XML module descriptor, the type is ivy and the extension is xml. |
|
abstract fun getFile(): File
Returns the file of this artifact. |
|
abstract fun getName(): String
Returns the name of the artifact. |
|
abstract fun getType(): String
Returns the type of the published artifact. Often the type is the same as the extension, but sometimes this is not the case. For example for an ivy XML module descriptor, the type is ivy and the extension is xml. |