api / org.gradle.api.artifacts.result / ResolvedArtifactResult

ResolvedArtifactResult

@Incubating interface ResolvedArtifactResult : ArtifactResult

The result of successfully resolving an artifact.

Since
2.0

Functions

getFile

abstract fun getFile(): File

The file for the artifact.

getVariant

abstract fun getVariant(): ResolvedVariantResult

The variant that included this artifact.

Inherited Functions

getId

abstract fun getId(): ComponentArtifactIdentifier

Returns an identifier for this artifact.

getType

abstract fun getType(): Class<out Artifact>

Returns the type of this artifact.