2019-08-01 19:35:27 +00:00
|
|
|
# retain these to support class references for the bundling and translation systems
|
|
|
|
-keepnames class com.shatteredpixel.** { *; }
|
|
|
|
-keepnames class com.watabou.** { *; }
|
|
|
|
|
2020-10-07 23:14:39 +00:00
|
|
|
# keep members of classes that are instantiated via reflection
|
|
|
|
-keepclassmembers class * extends com.watabou.glscripts.Script
|
|
|
|
-keepclassmembers class * implements com.watabou.utils.Bundlable
|
|
|
|
|
2019-08-01 19:35:27 +00:00
|
|
|
# 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
|
|
|
|
|
2020-09-04 22:07:06 +00:00
|
|
|
# libGDX stuff
|
2019-07-30 20:50:40 +00:00
|
|
|
-dontwarn android.support.**
|
|
|
|
-dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
|
|
|
|
-dontwarn com.badlogic.gdx.utils.GdxBuild
|
|
|
|
-dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
|
|
|
|
-dontwarn com.badlogic.gdx.jnigen.BuildTarget*
|
|
|
|
|
2021-08-08 23:51:12 +00:00
|
|
|
# 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 { *; }
|
|
|
|
|
2019-07-30 20:50:40 +00:00
|
|
|
-keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
|
2019-08-01 23:09:50 +00:00
|
|
|
<init>(com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
|
2019-07-30 20:50:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclassmembers class com.badlogic.gdx.physics.box2d.World {
|
2019-08-01 23:09:50 +00:00
|
|
|
boolean contactFilter(long, long);
|
|
|
|
void beginContact(long);
|
|
|
|
void endContact(long);
|
|
|
|
void preSolve(long, long);
|
|
|
|
void postSolve(long, long);
|
|
|
|
boolean reportFixture(long);
|
|
|
|
float reportRayFixture(long, float, float, float, float, float);
|
2019-07-30 20:50:40 +00:00
|
|
|
}
|