File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1414
1515# OSX files
1616.DS_Store
17-
18- proguard-rules.pro
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ android {
3030 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
3131 }
3232
33+ buildTypes {
34+ release {
35+ minifyEnabled true
36+ shrinkResources true
37+ proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
38+ }
39+ }
40+
3341 aaptOptions {
3442 noCompress " apk"
3543 }
Original file line number Diff line number Diff line change 1+ # Add project specific ProGuard rules here.
2+ # By default, the flags in this file are appended to flags specified
3+ # in E:/Android/sdk/tools/proguard/proguard-android.txt
4+ # You can edit the include path and order by changing the proguardFiles
5+ # directive in build.gradle.
6+ #
7+ # For more details, see
8+ # http://developer.android.com/guide/developing/tools/proguard.html
9+
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+ # Shrink only
20+ -dontobfuscate
21+
22+ # More debugging info (file name & line number)
23+ -renamesourcefileattribute SourceFile
24+ -keepattributes SourceFile,LineNumberTable
You can’t perform that action at this time.
0 commit comments