DependencyArtifact

An Artifact represents an artifact included in a org.gradle.api.artifacts.Dependency.

An artifact is an (immutable) value object.

Properties

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

Functions

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