6.6.2 - Alpha2 - 尝试恢复 com.stardust 前缀包以便提升代码兼容性
This commit is contained in:
14
app/proguard-rules.pro
vendored
14
app/proguard-rules.pro
vendored
@@ -53,8 +53,18 @@
|
||||
-keep class org.mozilla.javascript.** { *; }
|
||||
-keep class org.autojs.autojs.core.automator.** { *; }
|
||||
-keep class org.autojs.autojs.** { *; }
|
||||
|
||||
-keep class com.stardust.automator.** { *; }
|
||||
-keep class com.stardust.autojs.** { *; }
|
||||
-dontwarn com.stardust.**
|
||||
|
||||
-keepattributes *Annotation*,SourceFile,LineNumberTable
|
||||
|
||||
-keepclassmembers class ** {
|
||||
@org.autojs.autojs.annotation.ScriptInterface <methods>;
|
||||
@com.stardust.autojs.annotation.ScriptInterface <methods>;
|
||||
}
|
||||
|
||||
# Event bus
|
||||
|
||||
-keep class org.greenrobot.eventbus.** { *; }
|
||||
@@ -65,10 +75,6 @@
|
||||
|
||||
-keep enum org.greenrobot.eventbus.ThreadMode { *; }
|
||||
|
||||
-keepclassmembers class ** {
|
||||
@org.autojs.autojs.annotation.ScriptInterface <methods>;
|
||||
}
|
||||
|
||||
# gson
|
||||
|
||||
-keep class * extends org.json.JSONObject {
|
||||
|
||||
Reference in New Issue
Block a user