Advertisement
Guest User

Untitled

a guest
Apr 26th, 2016
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.54 KB | None | 0 0
  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.  
  13. # Add any project specific keep options here:
  14.  
  15. # If your project uses WebView with JS, uncomment the following
  16. # and specify the fully qualified class name to the JavaScript interface
  17. # class:
  18. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  19. # public *;
  20. #}
  21.  
  22. -verbose
  23.  
  24. -dontskipnonpubliclibraryclasses
  25. -dontskipnonpubliclibraryclassmembers
  26. #-optimizationpasses 1
  27. -dontoptimize
  28. #-dontshrink
  29. #-dontpreverify
  30. -repackageclasses ''
  31. -allowaccessmodification
  32. -dontobfuscate
  33.  
  34. -dontwarn android.support.**
  35. -dontwarn com.badlogic.gdx.backends.android.AndroidFragmentApplication
  36. -dontwarn com.badlogic.gdx.utils.GdxBuild
  37. -dontwarn com.badlogic.gdx.physics.box2d.utils.Box2DBuild
  38. -dontwarn com.badlogic.gdx.jnigen.BuildTarget*
  39. -dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild
  40.  
  41. -keep class com.badlogic.gdx.controllers.android.AndroidControllers
  42.  
  43. -keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
  44. <init>(com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
  45. }
  46.  
  47. -keepclassmembers class com.badlogic.gdx.physics.box2d.World {
  48. boolean contactFilter(long, long);
  49. void beginContact(long);
  50. void endContact(long);
  51. void preSolve(long, long);
  52. void postSolve(long, long);
  53. boolean reportFixture(long);
  54. float reportRayFixture(long, float, float, float, float, float);
  55. }
  56.  
  57. # my shit starts from here. I have no idea what the hell am I doing
  58. #-libraryjars libs/objenesis-1.2.jar
  59. -keep class org.objenesis.** { *; }
  60. -keep interface org.objenesis.** { *; }
  61. -dontwarn org.objenesis.**
  62.  
  63. #-libraryjars libs/minlog-1.2.jar
  64. -keep class com.esotericsoftware.minlog.** { *; }
  65. -keep interface com.esotericsoftware.minlog.** { *; }
  66.  
  67. #-libraryjars libs/kryo-debug-2.20.jar
  68. -keep class com.esotericsoftware.kryo.** { *; }
  69. -keep interface com.esotericsoftware.kryo.** { *; }
  70. -dontwarn com.esotericsoftware.kryo.**
  71.  
  72. #-libraryjars libs/jsonbeans-0.5.jar
  73. -keep class com.esotericsoftware.jsonbeans.** { *; }
  74. -keep interface com.esotericsoftware.jsonbeans.** { *; }
  75.  
  76. #-libraryjars libs/heyzap-ads-sdk-9.5.5.jar
  77. -keep class com.heyzap.** { *; }
  78. -keep interface com.heyzap.** { *; }
  79. -dontwarn com.heyzap.**
  80.  
  81. #-libraryjars libs/gson-1.7.2.jar
  82. -keep class com.google.gson.** { *; }
  83. -keep interface com.google.gson.** { *; }
  84. -dontwarn com.google.gson.**
  85.  
  86. #-libraryjars libs/gameanalytics.jar
  87. -keep class com.gameanalytics.** { *; }
  88. -keep interface com.gameanalytics.** { *; }
  89. -dontwarn com.gameanalytics.**
  90. -keep class fabric.** { *; }
  91. -keep interface fabric.** { *; }
  92. -dontwarn fabric.**
  93.  
  94. #-libraryjars libs/fixedandroid_kryonet-debug-2.21.jar
  95. -keep class com.esotericsoftware.kryonet.** { *; }
  96. -keep interface com.esotericsoftware.kryonet.** { *; }
  97. -dontwarn com.esotericsoftware.kryonet.**
  98.  
  99. #-libraryjars libs/asm-4.0.jar
  100. -keep class !org.objectweb.asm.** { *; }
  101. -dontwarn org.objectweb.asm.**
  102.  
  103. #-libraryjars libs/applovin-sdk-6.1.4.jar
  104. -keep class com.applovin.** { *; }
  105. -keep interface com.applovin.** { *; }
  106. -dontwarn com.applovin.**
  107.  
  108. #-libraryjars libs/reflectasm-1.0.7.jar
  109. -keep class com.esotericsoftware.reflectasm.** { *; }
  110. -keep interface com.esotericsoftware.reflectasm.** { *; }
  111. -dontwarn com.esotericsoftware.reflectasm.**
  112. -keep class moo.** { *; }
  113. -keep interface moo.** { *; }
  114. -dontwarn moo.**
  115.  
  116. # licensing project
  117. -keep class com.google.android.vending.licensing.** { *; }
  118. -keep interface com.google.android.vending.licensing.** { *; }
  119.  
  120. # support shit
  121. -keep class android.support.v4.app.** { *; }
  122. -keep interface android.support.v4.app.** { *; }
  123. -keep public class android.support.v7.widget.** { *; }
  124. -keep public class android.support.v7.internal.widget.** { *; }
  125. -keep public class android.support.v7.internal.view.menu.** { *; }
  126.  
  127. # fricking crashlytics shit
  128. -keep class com.crashlytics.** { *; }
  129. -keep interface com.crashlytics.** { *; }
  130.  
  131. -keep public class * extends android.support.v4.view.ActionProvider {
  132. public <init>(android.content.Context);
  133. }
  134.  
  135. # dialogs
  136. -keep class de.tomgrill.gdxdialogs.** { *; }
  137. -keep interface de.tomgrill.gdxdialogs.** { *; }
  138.  
  139. # no idea
  140. -keep class com.google.** { *; }
  141. -keep interface com.google.** { *; }
  142.  
  143.  
  144. -keep class com.facebook.** {
  145. *;
  146. }
  147.  
  148. -keepclasseswithmembernames class * {
  149. native <methods>;
  150. }
  151.  
  152. -keepclasseswithmembers class * {
  153. public <init>(android.content.Context, android.util.AttributeSet);
  154. }
  155.  
  156. -keepclasseswithmembers class * {
  157. public <init>(android.content.Context, android.util.AttributeSet, int);
  158. }
  159.  
  160. -keepclassmembers class * extends android.app.Activity {
  161. public void *(android.view.View);
  162. }
  163.  
  164. -keepclassmembers enum * {
  165. public static **[] values();
  166. public static ** valueOf(java.lang.String);
  167. }
  168.  
  169. -keep class * implements android.os.Parcelable {
  170. public static final android.os.Parcelable$Creator *;
  171. }
  172.  
  173.  
  174. -keepattributes Signature
  175. -keepattributes *Annotation*
  176.  
  177.  
  178. #-dontnote
  179. -dontwarn com.badlogic.gdx.**
  180. -dontwarn org.lwjgl.**
  181.  
  182. -keep public class * extends android.app.Activity
  183. -keep public class * extends android.app.Application
  184. -keep public class * extends android.app.Service
  185. -keep public class * extends android.content.BroadcastReceiver
  186. -keep public class * extends android.content.ContentProvider
  187. -keep public class * extends android.app.backup.BackupAgentHelper
  188. -keep public class * extends android.preference.Preference
  189. -keep public class com.android.vending.licensing.ILicensingService
  190. -keep class org.apache.*
  191. -keep class de.matthiasmann.**
  192. -keep class de.matthiasmann.twlthemeeditor.**
  193. -keep class com.jcraft.**
  194. -keep class com.badlogic.**
  195. -keep class com.badlogic.gdx.**
  196. -keep class com.badlogic.gdx.backends.**
  197. -keep class com..badlogic.gdx.controllers.**
  198. -keep class javax.*
  199. -keep class org.lwjgl.**
  200. -keep class org.lwjgl.opengl.**
  201. -keep class com.badlogic.backends.**
  202. -keep class * implements com.badlogic.gdx.utils.Json*
  203. -keep class java.lang.reflect.*
  204. -keep class net.java.games.** { *; }
  205. -dontwarn net.java.games.**
  206.  
  207.  
  208. -keep class android.app.** { *; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement