Skip to content

Instantly share code, notes, and snippets.

@VladSumtsov
Created April 29, 2015 16:30
Show Gist options
  • Save VladSumtsov/739881d23fc53c2df3ca to your computer and use it in GitHub Desktop.
Save VladSumtsov/739881d23fc53c2df3ca to your computer and use it in GitHub Desktop.
Kryo proguard configuration
#kryo
-dontwarn sun.reflect.**
-dontwarn java.beans.**
-keep,allowshrinking class com.esotericsoftware.** {
<fields>;
<methods>;
}
-keep,allowshrinking class java.beans.** { *; }
-keep,allowshrinking class sun.reflect.** { *; }
-keep,allowshrinking class com.esotericsoftware.kryo.** { *; }
-keep,allowshrinking class com.esotericsoftware.kryo.io.** { *; }
-keep,allowshrinking class sun.nio.ch.** { *; }
-dontwarn sun.nio.ch.**
@ekzee
Copy link

ekzee commented Dec 23, 2015

Also, I needed this:
-dontwarn sun.misc.**

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment