VariantInfo
@Incubating interface VariantInfo
| com.android.build.api.variant.VariantInfo | 
Information about the variant being built.
Only the Android Gradle Plugin should create instances of this interface.
Immutable, no access to tasks
Summary
            Public methods | 
        |
|---|---|
| abstract String | 
            
             Returns the name of the build type.  | 
        
| abstract ImmutableList<String!> | 
            
             Returns a list of flavor names that make up this variant.  | 
        
| abstract String | 
            
             Returns the name of the variant.  | 
        
| abstract Boolean | 
            
             Returns true if the variant is debuggable  | 
        
| abstract Boolean | 
            isTest()Returns true if this is a test variant  | 
        
Public methods
getBuildTypeName
@NonNull abstract fun getBuildTypeName(): String
Returns the name of the build type.
By convention, build-type settings should override flavor settings.
getFlavorNames
@NonNull abstract fun getFlavorNames(): ImmutableList<String!>
Returns a list of flavor names that make up this variant.
By convention settings from earlier flavors should override settings from later flavors.
| Return | |
|---|---|
| ImmutableList<String!>: the ordered list of flavor names. May be empty. | 
getFullVariantName
@NonNull abstract fun getFullVariantName(): String
Returns the name of the variant. This is composed of the build types and flavors