Fix nightly and release build by temporarily deactivate removeUnusedCode
. Related to #8408
This commit is contained in:
parent
79b451546d
commit
672151b8a2
@ -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…
x
Reference in New Issue
Block a user