mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
Fix nightly and release build by temporarily deactivate removeUnusedCode
. Related to #8408
This commit is contained in:
parent
79b451546d
commit
672151b8a2
1 changed files with 4 additions and 2 deletions
|
@ -259,7 +259,8 @@ android {
|
|||
release {
|
||||
resValue "string", "app_name", "Element"
|
||||
postprocessing {
|
||||
removeUnusedCode true
|
||||
// FIXME Set to true.
|
||||
removeUnusedCode false
|
||||
removeUnusedResources true
|
||||
// We do not activate obfuscation as it makes it hard then to read crash reports, and it's a bit useless on an open source project :)
|
||||
obfuscate false
|
||||
|
@ -276,7 +277,8 @@ android {
|
|||
// Just override the background color of the launcher icon for the nightly build.
|
||||
// We need to copy paste this block, this is not done automatically by `initWith release`
|
||||
postprocessing {
|
||||
removeUnusedCode true
|
||||
// FIXME Set to true.
|
||||
removeUnusedCode false
|
||||
removeUnusedResources true
|
||||
// We do not activate obfuscation as it makes it hard then to read crash reports, and it's a bit useless on an open source project :)
|
||||
obfuscate false
|
||||
|
|
Loading…
Reference in a new issue