Browse Source

代码混淆

liuyuqi-dellpc 3 years ago
parent
commit
70cda39e0b
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/build.gradle
  2. 1 1
      app/proguard-rules.pro

+ 1 - 1
app/build.gradle

@@ -23,7 +23,7 @@ android {
 
     buildTypes {
         release {
-            minifyEnabled false
+            minifyEnabled true
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
             signingConfig signingConfigs.release
         }

+ 1 - 1
app/proguard-rules.pro

@@ -18,4 +18,4 @@
 
 # If you keep the line number information, uncomment this to
 # hide the original source file name.
-#-renamesourcefileattribute SourceFile
+#-renamesourcefileattribute SourceFile