mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 22:18:46 +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 {
|
release {
|
||||||
resValue "string", "app_name", "Element"
|
resValue "string", "app_name", "Element"
|
||||||
postprocessing {
|
postprocessing {
|
||||||
removeUnusedCode true
|
// FIXME Set to true.
|
||||||
|
removeUnusedCode false
|
||||||
removeUnusedResources true
|
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 :)
|
// 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
|
obfuscate false
|
||||||
|
@ -276,7 +277,8 @@ android {
|
||||||
// Just override the background color of the launcher icon for the nightly build.
|
// 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`
|
// We need to copy paste this block, this is not done automatically by `initWith release`
|
||||||
postprocessing {
|
postprocessing {
|
||||||
removeUnusedCode true
|
// FIXME Set to true.
|
||||||
|
removeUnusedCode false
|
||||||
removeUnusedResources true
|
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 :)
|
// 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
|
obfuscate false
|
||||||
|
|
Loading…
Reference in a new issue