api / org.gradle.api.artifacts / ModuleDependency / getAttributes

getAttributes

@Incubating abstract fun getAttributes(): AttributeContainer

Overrides HasAttributes.getAttributes

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

Return
the attributes container for this dependency

Since
4.8