public interface BuildType extends BaseConfig
BuildTypeContainer,
BaseArtifact.getDependencies()| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the build type.
|
int |
getRenderscriptOptimLevel()
Returns the optimization level of the renderscript compilation.
|
SigningConfig |
getSigningConfig()
Returns the associated signing config or null if none are set on the build type.
|
boolean |
isDebuggable()
Returns whether the build type is configured to generate a debuggable apk.
|
boolean |
isEmbedMicroApp()
Returns whether the variant embeds the micro app.
|
boolean |
isJniDebuggable()
Returns whether the build type is configured to generate an apk with debuggable native code.
|
boolean |
isMinifyEnabled()
Specifies whether to enable code shrinking for this build type.
|
boolean |
isPseudoLocalesEnabled()
Returns whether the build type is configured to be build with support for pseudolocales.
|
boolean |
isRenderscriptDebuggable()
Returns whether the build type is configured to generate an apk with debuggable
renderscript code.
|
boolean |
isTestCoverageEnabled()
Returns whether the build type is configured to be build with support for code coverage.
|
boolean |
isZipAlignEnabled()
Return whether zipalign is enabled for this build type.
|
getApplicationIdSuffix, getBuildConfigFields, getConsumerProguardFiles, getManifestPlaceholders, getMultiDexEnabled, getMultiDexKeepFile, getMultiDexKeepProguard, getProguardFiles, getResValues, getTestProguardFiles, getVersionNameSuffix@NonNull java.lang.String getName()
getName in interface BaseConfigboolean isDebuggable()
boolean isTestCoverageEnabled()
boolean isPseudoLocalesEnabled()
boolean isJniDebuggable()
boolean isRenderscriptDebuggable()
int getRenderscriptOptimLevel()
boolean isMinifyEnabled()
By default, when you enable code shrinking by setting this property to true,
the Android plugin uses ProGuard.
To learn more, read Shrink Your Code and Resources.
boolean isZipAlignEnabled()
boolean isEmbedMicroApp()
@Nullable SigningConfig getSigningConfig()