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
/
ComponentMetadataBuilder
Component
Metadata
Builder
API
interface
ComponentMetadataBuilder
(
source
)
A component metadata builder.
Since
4.0
Members
Functions
attributes
Link copied to clipboard
API
abstract
fun
attributes
(
attributesConfiguration
:
Action
<
in
AttributeContainer
>
)
Configures the attributes of this component
get
Attributes
Link copied to clipboard
API
abstract
fun
getAttributes
(
)
:
AttributeContainer
Returns the attributes of the component.
set
Status
Link copied to clipboard
API
abstract
fun
setStatus
(
status
:
String
)
Sets the status of this component
set
Status
Scheme
Link copied to clipboard
API
abstract
fun
setStatusScheme
(
scheme
:
List
<
String
>
)
Sets the status scheme of this component