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

Commit c04d126

Browse files
Changed: Disable shrinkResources and obfuscation for testing reproducible builds and maintaining stacktraces of crashes
1 parent 534a098 commit c04d126

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

app/build.gradle

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

app/proguard-rules.pro

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@
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-
#}
18-
19-
# Uncomment this to preserve the line number information for
20-
# debugging stack traces.
21-
#-keepattributes SourceFile,LineNumberTable
22-
23-
# If you keep the line number information, uncomment this to
24-
# hide the original source file name.
25-
#-renamesourcefileattribute SourceFile
10+
-dontobfuscate

0 commit comments

Comments
 (0)