Stay organized with collections
Save and categorize content based on your preferences.
VariantAttr
interface VariantAttr : Named
Type for the attribute holding the variant name information.
The key should be ATTRIBUTE.
Summary
Companion properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# VariantAttr\n===========\n\n```\ninterface VariantAttr : Named\n```\n\n|---------------------------------------------------|\n| [com.android.build.api.attributes.VariantAttr](#) |\n\nType for the attribute holding the variant name information.\n\nThe key should be [ATTRIBUTE](#Companion.ATTRIBUTE:org.gradle.api.attributes.Attribute).\n\nSummary\n-------\n\n| ### Companion properties ||\n|-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [Attribute](https://docs.gradle.org/current/javadoc/org/gradle/api/attributes/Attribute.html)\\\u003c[VariantAttr](#)\\\u003e | [ATTRIBUTE](#Companion.ATTRIBUTE:org.gradle.api.attributes.Attribute) \u003cbr /\u003e |\n\nCompanion properties\n--------------------\n\n### ATTRIBUTE\n\n```\nval ATTRIBUTE: Attribute\u003cVariantAttr\u003e\n```"]]