proguard-project.txt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # To enable ProGuard in your project, edit project.properties
  2. # to define the proguard.config property as described in that file.
  3. #
  4. # Add project specific ProGuard rules here.
  5. # By default, the flags in this file are appended to flags specified
  6. # in ${sdk.dir}/tools/proguard/proguard-android.txt
  7. # You can edit the include path and order by changing the ProGuard
  8. # include property in project.properties.
  9. #
  10. # For more details, see
  11. # http://developer.android.com/guide/developing/tools/proguard.html
  12. # Add any project specific keep options here:
  13. # If your project uses WebView with JS, uncomment the following
  14. # and specify the fully qualified class name to the JavaScript interface
  15. # class:
  16. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  17. # public *;
  18. #}
  19. -verbose
  20. -dontwarn android.support.**
  21. -dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
  22. -dontwarn com.badlogic.gdx.utils.GdxBuild
  23. -dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
  24. -dontwarn com.badlogic.gdx.jnigen.BuildTarget*
  25. -dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild
  26. -keep class com.badlogic.gdx.controllers.android.AndroidControllers
  27. -keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
  28. <init>(com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
  29. }
  30. -keepclassmembers class com.badlogic.gdx.physics.box2d.World {
  31. boolean contactFilter(long, long);
  32. void beginContact(long);
  33. void endContact(long);
  34. void preSolve(long, long);
  35. void postSolve(long, long);
  36. boolean reportFixture(long);
  37. float reportRayFixture(long, float, float, float, float, float);
  38. }