Package com.android.build.api.variant
Interface VariantInfo
Deprecated.
Information about the variant being built.
Only the Android Gradle Plugin should create instances of this interface.
Immutable, no access to tasks
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the name of the build type.com.google.common.collect.ImmutableList<String>Deprecated.Returns a list of flavor names that make up this variant.Deprecated.Returns the name of the variant.booleanDeprecated.Returns true if the variant is debuggablebooleanisTest()Deprecated.Returns true if this is a test variant
-
Method Details
-
getFullVariantName
Deprecated.Returns the name of the variant. This is composed of the build types and flavors -
getBuildTypeName
Deprecated.Returns the name of the build type.By convention, build-type settings should override flavor settings.
-
getFlavorNames
Deprecated.Returns a list of flavor names that make up this variant.By convention settings from earlier flavors should override settings from later flavors.
- Returns:
- the ordered list of flavor names. May be empty.
-
isTest
boolean isTest()Deprecated.Returns true if this is a test variant -
isDebuggable
boolean isDebuggable()Deprecated.Returns true if the variant is debuggable
-