From 6b7c7ed850cf08efc2da38f361e2ee0d920e00db Mon Sep 17 00:00:00 2001 From: wmzh2006 Date: Tue, 30 Jan 2024 10:39:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8E=92=E9=99=A4kotlin?= =?UTF-8?q?=E6=B7=B7=E6=B7=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vastlib/consumer-rules.pro | 5 +++-- vastlib/proguard-rules.pro | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vastlib/consumer-rules.pro b/vastlib/consumer-rules.pro index 8089094..55e2b9a 100644 --- a/vastlib/consumer-rules.pro +++ b/vastlib/consumer-rules.pro @@ -1,3 +1,4 @@ -repackageclasses 'com.iab.ak' -#-keep class kotlinx.coroutines.** { *; } -#-dontwarn kotlinx.coroutines.** \ No newline at end of file +-keep class kotlinx.coroutines.** { *; } +-keep class kotlin.** { *; } +-dontwarn kotlinx.coroutines.** \ No newline at end of file diff --git a/vastlib/proguard-rules.pro b/vastlib/proguard-rules.pro index fd9693f..0921bda 100644 --- a/vastlib/proguard-rules.pro +++ b/vastlib/proguard-rules.pro @@ -37,6 +37,6 @@ -keepattributes Annotation -repackageclasses 'com.iab.ak' -keep class com.iab.ak{*;} -#-keep class kotlinx.coroutines.** { *; } -#-dontwarn kotlinx.coroutines.** +-keep class kotlinx.coroutines.** { *; } +-dontwarn kotlinx.coroutines.** -classobfuscationdictionary ../dict.txt \ No newline at end of file