Skip to content

Commit

Permalink
Changed: Disable shrinkResources and obfuscation for testing reproduc…
Browse files Browse the repository at this point in the history
…ible builds and maintaining stacktraces of crashes
  • Loading branch information
agnostic-apollo committed Sep 5, 2021
1 parent 2f99a4e commit 9355504
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
shrinkResources false // Reproducible builds
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}

Expand Down
11 changes: 2 additions & 9 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/fornwall/lib/android-sdk/tools/proguard/proguard-android.txt
# in android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# 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 9355504

Please sign in to comment.