api / org.gradle.api.artifacts / DependencyConstraint / getAttributes

getAttributes

@Incubating abstract fun getAttributes(): AttributeContainer

Overrides HasAttributes.getAttributes

Returns the attributes for this constraint. Mutation of the attributes of a constraint must be done through the #attributes(Action) method.

Return
the attributes container for this dependency

Since
4.8