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
(CoreProductFlavor defaultConfig, com.android.builder.model.SourceProvider defaultSourceProvider, CoreBuildType buildType, com.android.builder.model.SourceProvider buildTypeSourceProvider, VariantType type, com.android.builder.model.SigningConfig signingConfigOverride) Creates a GradleVariantConfiguration for a normal (non-test) variant. |
GradleVariantConfiguration
(VariantConfiguration testedConfig, CoreProductFlavor defaultConfig, com.android.builder.model.SourceProvider defaultSourceProvider, CoreBuildType buildType, com.android.builder.model.SourceProvider buildTypeSourceProvider, VariantType type, com.android.builder.model.SigningConfig signingConfigOverride) Creates a GradleVariantConfiguration for a testing variant. |
Type | Name and description |
---|---|
VariantConfiguration |
addProductFlavor(CoreProductFlavor productFlavor, com.android.builder.model.SourceProvider sourceProvider, String dimensionName) |
CoreNdkOptions |
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. |
Creates a GradleVariantConfiguration for a normal (non-test) variant.
Creates a GradleVariantConfiguration for a testing variant.
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.