From d29c1348ad779bf9e120230abaec87113924aa71 Mon Sep 17 00:00:00 2001 From: jenly1314 Date: Wed, 18 Dec 2019 17:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B7=B7=E6=B7=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app-dialog/proguard-rules.pro | 8 ++++++++ app-updater/proguard-rules.pro | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/app-dialog/proguard-rules.pro b/app-dialog/proguard-rules.pro index f1b4245..b844602 100644 --- a/app-dialog/proguard-rules.pro +++ b/app-dialog/proguard-rules.pro @@ -19,3 +19,11 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +-dontwarn com.king.app.dialog.** +-keep class com.king.app.dialog.**{ *;} + +-keepclassmembers enum * { + public static **[] values(); + public static ** valueOf(java.lang.String); +} diff --git a/app-updater/proguard-rules.pro b/app-updater/proguard-rules.pro index f1b4245..aead99e 100644 --- a/app-updater/proguard-rules.pro +++ b/app-updater/proguard-rules.pro @@ -19,3 +19,13 @@ # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile + +-dontwarn com.king.app.updater.** +-keep class com.king.app.updater.**{ *;} +-keep class * extends com.king.app.updater.**{ *;} +-keep class * implements com.king.app.updater.**{ *;} +-keepattributes InnerClasses + +-keep class * implements android.os.Parcelable { + public static final android.os.Parcelable$Creator *; +}