From 13ec86e00bb699413f32beef3e3c8ab298a3967a Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 21 Oct 2024 12:39:49 -0400 Subject: [PATCH] v3.0.0: adjusted R8 config to better preserve bundleable classes --- android/proguard-rules.pro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro index 8d2ba327d..0d463b590 100644 --- a/android/proguard-rules.pro +++ b/android/proguard-rules.pro @@ -2,9 +2,9 @@ -keepnames class com.shatteredpixel.** { *; } -keepnames class com.watabou.** { *; } -# keep members of classes that are instantiated via reflection --keepclassmembers class * extends com.watabou.glscripts.Script --keepclassmembers class * implements com.watabou.utils.Bundlable +# keep classes that are instantiated via reflection +-keep class * extends com.watabou.glscripts.Script +-keep class * implements com.watabou.utils.Bundlable # retained to support meaningful stack traces # note that the mapping file must be referenced in order to make sense of line numbers