From ca12db6fa1160a6cce51e65669016fd1d957b4d4 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 24 May 2023 16:36:14 -0400 Subject: [PATCH] v2.1.0: reverted R8 config changes, new version still seems to need them --- android/proguard-rules.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/android/proguard-rules.pro b/android/proguard-rules.pro index 135584425..8d2ba327d 100644 --- a/android/proguard-rules.pro +++ b/android/proguard-rules.pro @@ -6,6 +6,11 @@ -keepclassmembers class * extends com.watabou.glscripts.Script -keepclassmembers 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 +# mapping file can be found in core/build/outputs/mapping after running a release build +-keepattributes SourceFile,LineNumberTable + # libGDX stuff -dontwarn android.support.** -dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication