api / org.gradle.api.artifacts / ResolvedArtifact / getFile

getFile

abstract fun getFile(): File

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