api / org.gradle.api.artifacts.type / ArtifactTypeDefinition / getAttributes

getAttributes

abstract fun getAttributes(): AttributeContainer

Overrides HasAttributes.getAttributes

Defines the set of attributes to apply to a component that is packaged as an artifact of this type, when no other attributes are defined. For example, these attributes are applied when a Maven module contains an artifact with one of the extensions listed in #getFileNameExtensions().