Skip to content

Commit

Permalink
Changed: Enable minifyEnabled but still keep shrinkResources and obfu…
Browse files Browse the repository at this point in the history
…scation disabled for testing reproducible builds and maintaining stacktraces of crashes
  • Loading branch information
agnostic-apollo committed Sep 4, 2021
1 parent 32f344e commit e0c248d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ android {

buildTypes {
release {
minifyEnabled false
minifyEnabled true
shrinkResources false // Reproducible builds
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

Expand Down
9 changes: 1 addition & 8 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,4 @@
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-dontobfuscate

0 comments on commit e0c248d

Please sign in to comment.