android: update proguard file for when R8 is not used
This commit is contained in:
parent
59788fd658
commit
88b9784534
8
doric-android/doric/proguard-rules.pro
vendored
8
doric-android/doric/proguard-rules.pro
vendored
@ -20,8 +20,12 @@
|
|||||||
# 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 * {
|
||||||
@ -29,3 +33,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-keep class com.facebook.yoga.** {*;}
|
-keep class com.facebook.yoga.** {*;}
|
||||||
|
|
||||||
|
-dontwarn com.facebook.yoga.**
|
||||||
|
Reference in New Issue
Block a user