From 03d22ec386f75a6aebf5e07eb3e97d584b799b81 Mon Sep 17 00:00:00 2001 From: isuPatches Date: Mon, 9 Aug 2021 21:48:40 -0400 Subject: [PATCH] [No issue] Fix proguard obfuscation --- README.md | 2 +- .../java/com/isupatches/android/wisefy/build/BuildVersions.kt | 4 ++-- wisefy/proguard-rules.pro | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 945ae1f8..aaeea7de 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ There is a new package for 5.0. Please use: ```kotlin -implementation("com.isupatches.android:wisefy:5.0.0-RC1") +implementation("com.isupatches.android:wisefy:5.0.0-RC2") ``` ## 5.0 Rewrite diff --git a/buildSrc/src/main/java/com/isupatches/android/wisefy/build/BuildVersions.kt b/buildSrc/src/main/java/com/isupatches/android/wisefy/build/BuildVersions.kt index 2b14a576..d5dbcc09 100644 --- a/buildSrc/src/main/java/com/isupatches/android/wisefy/build/BuildVersions.kt +++ b/buildSrc/src/main/java/com/isupatches/android/wisefy/build/BuildVersions.kt @@ -22,6 +22,6 @@ object BuildVersions { const val TARGET_SDK: Int = 30 const val MIN_SDK: Int = 23 - const val MODULE_VERSION_CODE: Int = 16 - const val MODULE_VERSION_NAME: String = "5.0.0-RC1" + const val MODULE_VERSION_CODE: Int = 17 + const val MODULE_VERSION_NAME: String = "5.0.0-RC2" } diff --git a/wisefy/proguard-rules.pro b/wisefy/proguard-rules.pro index 714438cd..f4d23484 100644 --- a/wisefy/proguard-rules.pro +++ b/wisefy/proguard-rules.pro @@ -2,5 +2,7 @@ -dontobfuscate +-keep class com.isupatches.android.wisefy.** { *; } + # Java lang for AGP -dontwarn java.lang.instrument.ClassFileTransformer