Version of VariantConfiguration that uses the specific types used in the Gradle plugins. It also adds support for Ndk support that is not ready to go in the builder library.
Constructor and description |
---|
GradleVariantConfiguration
(ProductFlavor defaultConfig, com.android.builder.model.SourceProvider defaultSourceProvider, BuildType buildType, com.android.builder.model.SourceProvider buildTypeSourceProvider, com.android.builder.model.SigningConfig signingConfigOverride) |
GradleVariantConfiguration
(ProductFlavor defaultConfig, com.android.builder.model.SourceProvider defaultSourceProvider, BuildType buildType, com.android.builder.model.SourceProvider buildTypeSourceProvider, Type type, com.android.builder.model.SigningConfig signingConfigOverride) |
GradleVariantConfiguration
(ProductFlavor defaultConfig, com.android.builder.model.SourceProvider defaultSourceProvider, BuildType buildType, com.android.builder.model.SourceProvider buildTypeSourceProvider, Type type, VariantConfiguration testedConfig, com.android.builder.model.SigningConfig signingConfigOverride) |
Type | Name and description |
---|---|
VariantConfiguration |
addProductFlavor(GroupableProductFlavor productFlavor, com.android.builder.model.SourceProvider sourceProvider, String dimensionName) |
NdkConfig |
getNdkConfig() |
Set<String> |
getSupportedAbis() Returns the ABI filters associated with the artifact, or null if there are no filters. |
boolean |
getUseJack() |
boolean |
isMinifyEnabled() Returns whether the configuration has minification enabled. |
Returns the ABI filters associated with the artifact, or null if there are no filters. If the list contains values, then the artifact only contains these ABIs and excludes others.
Returns whether the configuration has minification enabled.