android: update proguard file for when R8 is not used

This commit is contained in:
pengfei.zhou 2022-06-30 13:35:11 +08:00 committed by osborn
parent 59788fd658
commit 88b9784534

View File

@ -20,12 +20,18 @@
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
-keep class pub.doric.extension.bridge.DoricPlugin{*;}
-keep class pub.doric.extension.bridge.DoricMethod{*;}
-keep class pub.doric.utils.ThreadMode {*;}
-keepclassmembers @pub.doric.extension.bridge.DoricPlugin class ** { -keepclassmembers @pub.doric.extension.bridge.DoricPlugin class ** {
<init>(*); <init>(...);
} }
-keepclassmembers class * { -keepclassmembers class * {
@pub.doric.extension.bridge.DoricMethod <methods>; @pub.doric.extension.bridge.DoricMethod <methods>;
} }
-keep class com.facebook.yoga.** {*;} -keep class com.facebook.yoga.** {*;}
-dontwarn com.facebook.yoga.**