TestBuildType
interface TestBuildType : VariantDimension, HasInitWith, BuildType, VariantDimension, TestVariantDimension
Build types define certain properties that Gradle uses when building and packaging your library, and are typically configured for different stages of your development lifecycle.
Test projects have a target application project that they depend on and build type matching works in the same way as library dependencies. Therefore to test multiple build types of an application you can declare corresponding build types here.
See configuring build types for more information.
Summary
Public properties |
|
---|---|
Boolean? |
Whether to crunch PNGs. |
Boolean |
Whether this build type should generate a debuggable apk. |
Inherited functions |
||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||||||||||||||
|
Public properties
isCrunchPngs
val 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.