v0.6.2b: adjusted progaurd settings to (hopefully) avoid obscure crashes
This commit is contained in:
parent
cb14cbd2e6
commit
41685ce45c
|
@ -12,7 +12,7 @@ android {
|
||||||
release {
|
release {
|
||||||
shrinkResources true
|
shrinkResources true
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
2
core/proguard-rules.pro
vendored
2
core/proguard-rules.pro
vendored
|
@ -1,4 +1,6 @@
|
||||||
# retain these to support class references and meaningful stack traces
|
# retain these to support class references and meaningful stack traces
|
||||||
-keepnames class com.shatteredpixel.** { *; }
|
-keepnames class com.shatteredpixel.** { *; }
|
||||||
-keepnames class com.watabou.** { *; }
|
-keepnames class com.watabou.** { *; }
|
||||||
|
-keep class com.shatteredpixel.shatteredpixeldungeon { *; }
|
||||||
|
-keep class com.watabou.noosa.game { *; }
|
||||||
-keepattributes SourceFile,LineNumberTable
|
-keepattributes SourceFile,LineNumberTable
|
Loading…
Reference in New Issue
Block a user