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()
Deprecated.
remember that this flag means that some "ProGuard-like" tool has run, it does not
say if the tool was used to obfuscate and/or minify. In build system code this
information is available elsewhere and should be used instead of this method.
|
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, getFlavorSelections, getJarJarRuleFiles, 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()
@Deprecated boolean isMinifyEnabled()
boolean isZipAlignEnabled()
boolean isEmbedMicroApp()
@Nullable SigningConfig getSigningConfig()