api / org.gradle.api.artifacts / ResolvedArtifact

ResolvedArtifact

interface ResolvedArtifact

Information about a resolved artifact.

Functions

getClassifier

abstract fun getClassifier(): String

getExtension

abstract fun getExtension(): String

getFile

abstract fun getFile(): File

Returns the local file for this artifact. Downloads the artifact if not already available locally, blocking until complete.

getId

abstract fun getId(): ComponentArtifactIdentifier

getModuleVersion

abstract fun getModuleVersion(): ResolvedModuleVersion

Returns the module which this artifact belongs to.

getName

abstract fun getName(): String

getType

abstract fun getType(): String