android: update proguard file for when R8 is not used
This commit is contained in:
parent
59788fd658
commit
88b9784534
10
doric-android/doric/proguard-rules.pro
vendored
10
doric-android/doric/proguard-rules.pro
vendored
@ -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.**
|
||||||
|
Reference in New Issue
Block a user