For AI agents: the documentation index is at
https://docs.gradle.org/llms.txt
. Request any page with the header
Accept: text/markdown
to get Markdown. User manual pages are also available as Markdown by replacing
.html
with
.md
in the URL.
gradle
Toggle table of contents
9.9.3
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.artifacts
/
ResolvedArtifact
Resolved
Artifact
API
interface
ResolvedArtifact
(
source
)
Information about a resolved artifact.
Since
0.8
Members
Functions
get
Classifier
Link copied to clipboard
API
@
Nullable
abstract
fun
getClassifier
(
)
:
@
Nullable
String
Returns the classifier.
get
Extension
Link copied to clipboard
API
@
Nullable
abstract
fun
getExtension
(
)
:
@
Nullable
String
Returns the extension.
get
File
Link copied to clipboard
API
abstract
fun
getFile
(
)
:
File
Returns the local file for this artifact.
get
Id
Link copied to clipboard
API
abstract
fun
getId
(
)
:
ComponentArtifactIdentifier
Returns the id.
get
Module
Version
Link copied to clipboard
API
abstract
fun
getModuleVersion
(
)
:
ResolvedModuleVersion
Returns the module which this artifact belongs to.
get
Name
Link copied to clipboard
API
abstract
fun
getName
(
)
:
String
Returns the name.
get
Type
Link copied to clipboard
API
abstract
fun
getType
(
)
:
String
Returns the type.