Skip to content

Commit

Permalink
update proguard config
Browse files Browse the repository at this point in the history
  • Loading branch information
imndx committed Sep 23, 2019
1 parent 5bc1db2 commit 167ebe7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chat/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ android {
}
buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.wfc
}
Expand Down
5 changes: 5 additions & 0 deletions chat/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,8 @@

-dontwarn com.tencent.bugly.**
-keep public class com.tencent.bugly.**{*;}

-keep class !cn.wildfire.chat.moment.**,!cn.wildfirechat.moment.**, **{ *; }
-keep class cn.wildfirechat.moment.MomentClient {
public void init(***);
}

0 comments on commit 167ebe7

Please sign in to comment.