v1.4.0: adjusted proguard rules to fix crashes with new AGP

This commit is contained in:
Evan Debenham
2022-09-21 14:46:07 -04:00
parent c801a89b2e
commit a2546d5875
3 changed files with 8 additions and 5 deletions

View File

@@ -19,8 +19,8 @@
-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
# needed for libGDX skin reflection used in text fields. Perhaps just don't use skin?
-keepnames class com.badlogic.gdx.graphics.Color { *; }
-keepnames class com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle { *; }
-keep class com.badlogic.gdx.graphics.Color { *; }
-keep class com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle { *; }
# needed for libGDX controllers
-keep class com.badlogic.gdx.controllers.android.AndroidControllers { *; }

View File

@@ -14,8 +14,8 @@ allprojects {
appName = 'Shattered Pixel Dungeon'
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
appVersionCode = 653
appVersionName = '1.4.0-ALPHA-3'
appVersionCode = 654
appVersionName = '1.4.0-ALPHA-4'
appJavaCompatibility = JavaVersion.VERSION_1_8

View File

@@ -91,10 +91,13 @@ public class v1_X_Changes {
changes.hardlight(Window.TITLE_COLOR);
changeInfos.add(changes);
changes = new ChangeInfo("", false, null);
changes = new ChangeInfo("ALPHA-4", false, null);
changes.hardlight(Window.TITLE_COLOR);
changeInfos.add(changes);
changes.addButton(new ChangeButton(new Image(Assets.Sprites.SPINNER, 144, 0, 16, 16), Messages.get(ChangesScene.class, "bugfixes"),
"Fixed and Android-specific bug that caused crashes with text input windows"));
changes = new ChangeInfo("ALPHA-3", false, null);
changes.hardlight(Window.TITLE_COLOR);
changeInfos.add(changes);