这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 9355504

Browse files
Changed: Disable shrinkResources and obfuscation for testing reproducible builds and maintaining stacktraces of crashes
1 parent 2f99a4e commit 9355504

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android {
2727
buildTypes {
2828
release {
2929
minifyEnabled true
30-
shrinkResources true
30+
shrinkResources false // Reproducible builds
3131
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3232
}
3333

app/proguard-rules.pro

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
# Add project specific ProGuard rules here.
22
# By default, the flags in this file are appended to flags specified
3-
# in /Users/fornwall/lib/android-sdk/tools/proguard/proguard-android.txt
3+
# in android-sdk/tools/proguard/proguard-android.txt
44
# You can edit the include path and order by changing the proguardFiles
55
# directive in build.gradle.
66
#
77
# For more details, see
88
# http://developer.android.com/guide/developing/tools/proguard.html
99

10-
# Add any project specific keep options here:
11-
12-
# If your project uses WebView with JS, uncomment the following
13-
# and specify the fully qualified class name to the JavaScript interface
14-
# class:
15-
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16-
# public *;
17-
#}
10+
-dontobfuscate

0 commit comments

Comments
 (0)