Android 12 Developer Preview is here! Try it out, and give us your feedback!

VariantAttr

interface VariantAttr : Named
com.android.build.api.attributes.VariantAttr

Type for the attribute holding the variant name information.

The key should be ATTRIBUTE.

Summary

Companion properties

Attribute<VariantAttr>

Companion properties

ATTRIBUTE

val ATTRIBUTE: Attribute<VariantAttr>