'android' extension for 'com.android.application' project. This extends BaseExtension
Constructor and description |
---|
AppExtension
(AppPlugin plugin, org.gradle.api.internal.project.ProjectInternal project, org.gradle.internal.reflect.Instantiator instantiator, org.gradle.api.NamedDomainObjectContainer<BuildType> buildTypes, org.gradle.api.NamedDomainObjectContainer<GroupableProductFlavor> productFlavors, org.gradle.api.NamedDomainObjectContainer<SigningConfig> signingConfigs, boolean isLibrary) |
Type | Name and description |
---|---|
void |
addVariant(BaseVariant variant) |
org.gradle.api.internal.DefaultDomainObjectSet<ApplicationVariant> |
getApplicationVariants() Returns the list of Application variants. |
Returns the list of Application variants. Since the collections is built after evaluation,
it should be used with Groovy's all
iterator to process future items.