interface DependencyArtifact
An Artifact
represents an artifact included in a org.gradle.api.artifacts.Dependency.
static val DEFAULT_TYPE: String |
abstract fun getClassifier(): String
Returns the classifier of this artifact. |
|
abstract fun getExtension(): String
Returns the extension of this 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 getName(): String
Returns the name of this artifact. |
|
abstract fun getType(): String
Returns the type of this 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. |
|
abstract fun getUrl(): String
Returns an URL under which this artifact can be retrieved. If not specified the user repositories are used for retrieving. |
|
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 setUrl(url: String): Unit
Sets the URL for this artifact. |