Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # To enable ProGuard in your project, edit project.properties
- # to define the proguard.config property as described in that file.
- #
- # Add project specific ProGuard rules here.
- # By default, the flags in this file are appended to flags specified
- # in ${sdk.dir}/tools/proguard/proguard-android.txt
- # You can edit the include path and order by changing the ProGuard
- # include property in project.properties.
- #
- # For more details, see
- # http://developer.android.com/guide/developing/tools/proguard.html
- # Add any project specific keep options here:
- # If your project uses WebView with JS, uncomment the following
- # and specify the fully qualified class name to the JavaScript interface
- # class:
- #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
- # public *;
- #}
- -verbose
- -dontskipnonpubliclibraryclasses
- -dontskipnonpubliclibraryclassmembers
- #-optimizationpasses 1
- -dontoptimize
- #-dontshrink
- #-dontpreverify
- -repackageclasses ''
- -allowaccessmodification
- -dontobfuscate
- -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*
- -dontwarn com.badlogic.gdx.graphics.g2d.freetype.FreetypeBuild
- -keep class com.badlogic.gdx.controllers.android.AndroidControllers
- -keepclassmembers class com.badlogic.gdx.backends.android.AndroidInput* {
- <init>(com.badlogic.gdx.Application, android.content.Context, java.lang.Object, com.badlogic.gdx.backends.android.AndroidApplicationConfiguration);
- }
- -keepclassmembers class com.badlogic.gdx.physics.box2d.World {
- 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);
- }
- # my shit starts from here. I have no idea what the hell am I doing
- #-libraryjars libs/objenesis-1.2.jar
- -keep class org.objenesis.** { *; }
- -keep interface org.objenesis.** { *; }
- -dontwarn org.objenesis.**
- #-libraryjars libs/minlog-1.2.jar
- -keep class com.esotericsoftware.minlog.** { *; }
- -keep interface com.esotericsoftware.minlog.** { *; }
- #-libraryjars libs/kryo-debug-2.20.jar
- -keep class com.esotericsoftware.kryo.** { *; }
- -keep interface com.esotericsoftware.kryo.** { *; }
- -dontwarn com.esotericsoftware.kryo.**
- #-libraryjars libs/jsonbeans-0.5.jar
- -keep class com.esotericsoftware.jsonbeans.** { *; }
- -keep interface com.esotericsoftware.jsonbeans.** { *; }
- #-libraryjars libs/heyzap-ads-sdk-9.5.5.jar
- -keep class com.heyzap.** { *; }
- -keep interface com.heyzap.** { *; }
- -dontwarn com.heyzap.**
- #-libraryjars libs/gson-1.7.2.jar
- -keep class com.google.gson.** { *; }
- -keep interface com.google.gson.** { *; }
- -dontwarn com.google.gson.**
- #-libraryjars libs/gameanalytics.jar
- -keep class com.gameanalytics.** { *; }
- -keep interface com.gameanalytics.** { *; }
- -dontwarn com.gameanalytics.**
- -keep class fabric.** { *; }
- -keep interface fabric.** { *; }
- -dontwarn fabric.**
- #-libraryjars libs/fixedandroid_kryonet-debug-2.21.jar
- -keep class com.esotericsoftware.kryonet.** { *; }
- -keep interface com.esotericsoftware.kryonet.** { *; }
- -dontwarn com.esotericsoftware.kryonet.**
- #-libraryjars libs/asm-4.0.jar
- -keep class !org.objectweb.asm.** { *; }
- -dontwarn org.objectweb.asm.**
- #-libraryjars libs/applovin-sdk-6.1.4.jar
- -keep class com.applovin.** { *; }
- -keep interface com.applovin.** { *; }
- -dontwarn com.applovin.**
- #-libraryjars libs/reflectasm-1.0.7.jar
- -keep class com.esotericsoftware.reflectasm.** { *; }
- -keep interface com.esotericsoftware.reflectasm.** { *; }
- -dontwarn com.esotericsoftware.reflectasm.**
- -keep class moo.** { *; }
- -keep interface moo.** { *; }
- -dontwarn moo.**
- # licensing project
- -keep class com.google.android.vending.licensing.** { *; }
- -keep interface com.google.android.vending.licensing.** { *; }
- # support shit
- -keep class android.support.v4.app.** { *; }
- -keep interface android.support.v4.app.** { *; }
- -keep public class android.support.v7.widget.** { *; }
- -keep public class android.support.v7.internal.widget.** { *; }
- -keep public class android.support.v7.internal.view.menu.** { *; }
- # fricking crashlytics shit
- -keep class com.crashlytics.** { *; }
- -keep interface com.crashlytics.** { *; }
- -keep public class * extends android.support.v4.view.ActionProvider {
- public <init>(android.content.Context);
- }
- # dialogs
- -keep class de.tomgrill.gdxdialogs.** { *; }
- -keep interface de.tomgrill.gdxdialogs.** { *; }
- # no idea
- -keep class com.google.** { *; }
- -keep interface com.google.** { *; }
- -keep class com.facebook.** {
- *;
- }
- -keepclasseswithmembernames class * {
- native <methods>;
- }
- -keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet);
- }
- -keepclasseswithmembers class * {
- public <init>(android.content.Context, android.util.AttributeSet, int);
- }
- -keepclassmembers class * extends android.app.Activity {
- public void *(android.view.View);
- }
- -keepclassmembers enum * {
- public static **[] values();
- public static ** valueOf(java.lang.String);
- }
- -keep class * implements android.os.Parcelable {
- public static final android.os.Parcelable$Creator *;
- }
- -keepattributes Signature
- -keepattributes *Annotation*
- #-dontnote
- -dontwarn com.badlogic.gdx.**
- -dontwarn org.lwjgl.**
- -keep public class * extends android.app.Activity
- -keep public class * extends android.app.Application
- -keep public class * extends android.app.Service
- -keep public class * extends android.content.BroadcastReceiver
- -keep public class * extends android.content.ContentProvider
- -keep public class * extends android.app.backup.BackupAgentHelper
- -keep public class * extends android.preference.Preference
- -keep public class com.android.vending.licensing.ILicensingService
- -keep class org.apache.*
- -keep class de.matthiasmann.**
- -keep class de.matthiasmann.twlthemeeditor.**
- -keep class com.jcraft.**
- -keep class com.badlogic.**
- -keep class com.badlogic.gdx.**
- -keep class com.badlogic.gdx.backends.**
- -keep class com..badlogic.gdx.controllers.**
- -keep class javax.*
- -keep class org.lwjgl.**
- -keep class org.lwjgl.opengl.**
- -keep class com.badlogic.backends.**
- -keep class * implements com.badlogic.gdx.utils.Json*
- -keep class java.lang.reflect.*
- -keep class net.java.games.** { *; }
- -dontwarn net.java.games.**
- -keep class android.app.** { *; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement