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.1
API
Target filter
API
Switch theme
Search in API
Skip to content
gradle
gradle
/
org.gradle.api.artifacts.result
/
ResolvedArtifactResult
Resolved
Artifact
Result
API
interface
ResolvedArtifactResult
:
ArtifactResult
(
source
)
The result of successfully resolving an artifact.
Since
2.0
Members
Functions
get
Attributes
Link copied to clipboard
API
abstract
fun
getAttributes
(
)
:
AttributeContainer
The attributes that describe this artifact.
get
Capabilities
Link copied to clipboard
API
abstract
fun
getCapabilities
(
)
:
Collection
<
out
Capability
>
The capabilities that describe this artifact.
get
File
Link copied to clipboard
API
abstract
fun
getFile
(
)
:
File
The file for the artifact.
get
Id
Link copied to clipboard
API
abstract
fun
getId
(
)
:
ComponentArtifactIdentifier
Returns an identifier for this artifact.
get
Type
Link copied to clipboard
API
abstract
fun
getType
(
)
:
Class
<
out
Artifact
>
Returns the type of this artifact.
get
Variant
Link copied to clipboard
API
abstract
fun
getVariant
(
)
:
ResolvedVariantResult
The variant that included this artifact.