v0.6.2b: adjusted progaurd settings to (hopefully) avoid obscure crashes

This commit is contained in:
Evan Debenham 2017-11-06 02:20:44 -05:00 committed by Evan Debenham
parent cb14cbd2e6
commit 41685ce45c
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ android {
release {
shrinkResources true
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

View File

@ -1,4 +1,6 @@
# retain these to support class references and meaningful stack traces
-keepnames class com.shatteredpixel.** { *; }
-keepnames class com.watabou.** { *; }
-keep class com.shatteredpixel.shatteredpixeldungeon { *; }
-keep class com.watabou.noosa.game { *; }
-keepattributes SourceFile,LineNumberTable