ApplicationBuildType
@Incubating interface ApplicationBuildType<SigningConfigT : SigningConfig> : BuildType, ApplicationVariantDimension<SigningConfigT>
com.android.build.api.dsl.ApplicationBuildType |
Summary
Inherited functions |
|||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
VariantDimension
|
Properties |
|
---|---|
abstract Boolean? |
Whether to crunch PNGs. |
abstract Boolean |
Whether this build type should generate a debuggable apk. |
abstract Boolean |
Whether this product flavor should be selected in Studio by default |
abstract Boolean |
Whether a linked Android Wear app should be embedded in variant using this build type. |
Inherited properties |
|||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
ApplicationVariantDimension
|
|||||||||||||||||||||||||||||||||||||
From class
VariantDimension
|
|||||||||||||||||||||||||||||||||||||
From class
BuildType
|
Properties
isCrunchPngs
abstract var isCrunchPngs: Boolean?
Whether to crunch PNGs.
Setting this property to true
reduces of PNG resources that are not already
optimally compressed. However, this process increases build times.
PNG crunching is enabled by default in the release build type and disabled by default in the debug build type.
isDebuggable
abstract var isDebuggable: Boolean
Whether this build type should generate a debuggable apk.
isDefault
abstract var isDefault: Boolean
Whether this product flavor should be selected in Studio by default
isEmbedMicroApp
abstract var isEmbedMicroApp: Boolean
Whether a linked Android Wear app should be embedded in variant using this build type.
Wear apps can be linked with the following code:
dependencies { freeWearApp project(:wear:free') // applies to variant using the free flavor wearApp project(':wear:base') // applies to all other variants }