# attributes

abstract fun attributes(configureAction: Action<in AttributeContainer>): DependencyConstraint(source)

Mutates the attributes of this constraint. Attributes are used during dependency resolution to select the appropriate target variant, in particular when a single component provides different variants.

#### Since

4.8

#### Parameters

configureAction

the attributes mutation action