|
|
|
@ -46,8 +46,10 @@ android {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
def releaseTemplate = {
|
|
|
|
|
shrinkResources true
|
|
|
|
|
minifyEnabled true
|
|
|
|
|
// We allow disabling optimization by passing `-PdisableOptimization` to gradle. This is used
|
|
|
|
|
// in automation for UI testing non-debug builds.
|
|
|
|
|
shrinkResources !project.hasProperty("disableOptimization")
|
|
|
|
|
minifyEnabled !project.hasProperty("disableOptimization")
|
|
|
|
|
proguardFiles 'proguard-android-optimize-3.5.0-modified.txt', 'proguard-rules.pro'
|
|
|
|
|
matchingFallbacks = ['release'] // Use on the "release" build type in dependencies (AARs)
|
|
|
|
|
|
|
|
|
|