@Incubating public interface VariantInfo
Only the Android Gradle Plugin should create instances of this interface.
Immutable, no access to tasks
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBuildTypeName()
Returns the name of the build type.
|
com.google.common.collect.ImmutableList<java.lang.String> |
getFlavorNames()
Returns a list of flavor names that make up this variant.
|
java.lang.String |
getFullVariantName()
Returns the name of the variant.
|
boolean |
isDebuggable()
Returns true if the variant is debuggable
|
boolean |
isTest()
Returns true if this is a test variant
|
@NonNull java.lang.String getFullVariantName()
@NonNull java.lang.String getBuildTypeName()
By convention, build-type settings should override flavor settings.
@NonNull com.google.common.collect.ImmutableList<java.lang.String> getFlavorNames()
By convention settings from earlier flavors should override settings from later flavors.
boolean isTest()
boolean isDebuggable()