v1.4.0: adjusted proguard rules to fix crashes with new AGP
This commit is contained in:
4
android/proguard-rules.pro
vendored
4
android/proguard-rules.pro
vendored
@@ -19,8 +19,8 @@
|
|||||||
-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
|
-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
|
||||||
|
|
||||||
# needed for libGDX skin reflection used in text fields. Perhaps just don't use skin?
|
# needed for libGDX skin reflection used in text fields. Perhaps just don't use skin?
|
||||||
-keepnames class com.badlogic.gdx.graphics.Color { *; }
|
-keep class com.badlogic.gdx.graphics.Color { *; }
|
||||||
-keepnames class com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle { *; }
|
-keep class com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldStyle { *; }
|
||||||
|
|
||||||
# needed for libGDX controllers
|
# needed for libGDX controllers
|
||||||
-keep class com.badlogic.gdx.controllers.android.AndroidControllers { *; }
|
-keep class com.badlogic.gdx.controllers.android.AndroidControllers { *; }
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ allprojects {
|
|||||||
appName = 'Shattered Pixel Dungeon'
|
appName = 'Shattered Pixel Dungeon'
|
||||||
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
appPackageName = 'com.shatteredpixel.shatteredpixeldungeon'
|
||||||
|
|
||||||
appVersionCode = 653
|
appVersionCode = 654
|
||||||
appVersionName = '1.4.0-ALPHA-3'
|
appVersionName = '1.4.0-ALPHA-4'
|
||||||
|
|
||||||
appJavaCompatibility = JavaVersion.VERSION_1_8
|
appJavaCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
|
||||||
|
|||||||
@@ -91,10 +91,13 @@ public class v1_X_Changes {
|
|||||||
changes.hardlight(Window.TITLE_COLOR);
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
changeInfos.add(changes);
|
changeInfos.add(changes);
|
||||||
|
|
||||||
changes = new ChangeInfo("", false, null);
|
changes = new ChangeInfo("ALPHA-4", false, null);
|
||||||
changes.hardlight(Window.TITLE_COLOR);
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
changeInfos.add(changes);
|
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 = new ChangeInfo("ALPHA-3", false, null);
|
||||||
changes.hardlight(Window.TITLE_COLOR);
|
changes.hardlight(Window.TITLE_COLOR);
|
||||||
changeInfos.add(changes);
|
changeInfos.add(changes);
|
||||||
|
|||||||
Reference in New Issue
Block a user