Skip to content

Commit

Permalink
解决gradle
Browse files Browse the repository at this point in the history
3.6及以上版本默认启用R8.会将插入的ChangeQuickRedirect变量优化掉

Signed-off-by: hedex <hedexmail@gmail.com>
  • Loading branch information
hedex committed Apr 13, 2020
1 parent 5fb2318 commit bac3028
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions patch/proguard-rules.pro
Expand Up @@ -2,4 +2,7 @@
-keep class meituan.robust.**{*;}
-keep class com.google.gson.**{*;}
-keepattributes *Annotation*
-keepclassmembers class **{
public static com.meituan.robust.ChangeQuickRedirect *;
}

0 comments on commit bac3028

Please sign in to comment.