Enabled APK optimizations for smaller size and faster performance
This commit is contained in:
parent
b6fff70334
commit
70a6fb49ea
1 changed files with 8 additions and 0 deletions
|
|
@ -126,6 +126,14 @@ android {
|
|||
|
||||
release { data ->
|
||||
data.buildConfigField 'String', 'VERSION_FULL', "\"${getReleaseVersion()}\""
|
||||
|
||||
debuggable false
|
||||
jniDebuggable false
|
||||
renderscriptDebuggable false
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
|
||||
// signingConfig android.signingConfigs.release
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue