diff options
author | Torsten Grote <t@grobox.de> | 2020-07-31 10:58:20 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-07-31 10:58:20 -0300 |
commit | 4bd0ec921e7ba0b074fef28604febd7ad9d57d01 (patch) | |
tree | 0d9035dfccc83e080c00c1293e1d1f44903d7d7b /merchant-terminal | |
parent | dabc0ce62c93f8d78ed800e0f3c63b7fd5cb9e25 (diff) | |
download | taler-android-4bd0ec921e7ba0b074fef28604febd7ad9d57d01.tar.gz taler-android-4bd0ec921e7ba0b074fef28604febd7ad9d57d01.tar.bz2 taler-android-4bd0ec921e7ba0b074fef28604febd7ad9d57d01.zip |
Enable code minification for release builds of all apps
Attention: This brings a high run-time crash risk.
So all release builds need to be thoroughly tested before publication.
Nightly builds have been switched to release builds for that reason.
Diffstat (limited to 'merchant-terminal')
-rw-r--r-- | merchant-terminal/.gitlab-ci.yml | 2 | ||||
-rw-r--r-- | merchant-terminal/proguard-rules.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/merchant-terminal/.gitlab-ci.yml b/merchant-terminal/.gitlab-ci.yml index d159902..470cb58 100644 --- a/merchant-terminal/.gitlab-ci.yml +++ b/merchant-terminal/.gitlab-ci.yml @@ -38,7 +38,7 @@ merchant_deploy_nightly: # Set nightly application ID - sed -i "s,^\(\s*applicationId\) \"*[a-z\.].*\",\1 \"net.taler.merchantpos.nightly\"," merchant-terminal/build.gradle # Build the APK - - ./gradlew :merchant-terminal:assembleDebug + - ./gradlew :merchant-terminal:assembleRelease # START only needed while patch not accepted/released upstream - apt update && apt install patch - patch /usr/lib/python3/dist-packages/fdroidserver/nightly.py nightly-stats.patch diff --git a/merchant-terminal/proguard-rules.pro b/merchant-terminal/proguard-rules.pro index f1b4245..1a50a50 100644 --- a/merchant-terminal/proguard-rules.pro +++ b/merchant-terminal/proguard-rules.pro @@ -19,3 +19,5 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +-keep class net.taler.merchantpos.** {*;} |