# DependencyArtifact

interface DependencyArtifact(source)

Data class that represents an artifact included in a org.gradle.api.artifacts.Dependency.

## Properties

DEFAULT_TYPE
Link copied to clipboard
val DEFAULT_TYPE: String = "jar"

## Functions

getClassifier
Link copied to clipboard
@Nullable
abstract fun getClassifier(): String
Returns the classifier of this artifact.
getExtension
Link copied to clipboard
@Nullable
abstract fun getExtension(): String
Returns the extension of this artifact.
getName
Link copied to clipboard
abstract fun getName(): String
Returns the name of this artifact.
getType
Link copied to clipboard
abstract fun getType(): String
Returns the type of this artifact.
getUrl
Link copied to clipboard
@Nullable
abstract fun getUrl(): String
Returns a URL under which this artifact can be retrieved.
setClassifier
Link copied to clipboard
abstract fun setClassifier(@Nullable classifier: String)
Sets the classifier of this artifact.
setExtension
Link copied to clipboard
abstract fun setExtension(@Nullable extension: String)
Sets the extension of this artifact.
setName
Link copied to clipboard
abstract fun setName(name: String)
Sets the name of this artifact.
setType
Link copied to clipboard
abstract fun setType(type: String)
Sets the type of this artifact.
setUrl
Link copied to clipboard
abstract fun setUrl(@Nullable url: String)
Sets the URL for this artifact.