From 38daea8487695b66e7dcb01d30f38a585afc28c9 Mon Sep 17 00:00:00 2001 From: Antecer Date: Thu, 2 May 2024 13:59:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8D=87=E7=BA=A7rhino1.7.14?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E6=B7=B7=E6=B7=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/proguard-rules.pro | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 6aef70f42..9f2a11a7b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -223,6 +223,9 @@ -keep class com.sun.script.javascript.** { *; } -keep class org.mozilla.** { *; } -dontwarn org.mozilla.javascript.engine.RhinoScriptEngineFactory +### 以下内容是更新rhino1.7.14.jar后IDE提示添加的 +-dontwarn java.beans.** +-dontwarn javax.script.** ## EPUB -dontwarn nl.siegmann.epublib.** @@ -269,21 +272,4 @@ # Error Exception -keep class * extends java.lang.Exception -keep class * extends java.lang.Error --keep class **Exception - -# 不知道以下内容是啥,AndroidStudio让加的 --dontwarn java.beans.BeanDescriptor --dontwarn java.beans.BeanInfo --dontwarn java.beans.IntrospectionException --dontwarn java.beans.Introspector --dontwarn java.beans.PropertyDescriptor --dontwarn javax.script.AbstractScriptEngine --dontwarn javax.script.Bindings --dontwarn javax.script.Compilable --dontwarn javax.script.CompiledScript --dontwarn javax.script.Invocable --dontwarn javax.script.ScriptContext --dontwarn javax.script.ScriptEngine --dontwarn javax.script.ScriptEngineFactory --dontwarn javax.script.ScriptException --dontwarn javax.script.SimpleBindings \ No newline at end of file +-keep class **Exception \ No newline at end of file