SnappyDB ProGuard rules

SnappyDB – is a key-value database for Android it's an alternative for SQLite if you want to use a NoSQL approach.

It allows you to store and get primitive types, but also a Serializable object or array in a type-safe way.

ProGuard rules for SnappyDB

ProGuard removes unused classes, methods, fields and attributes, and it obfuscates the rest your code. Obfuscating code that performs reflection may cause of error. Specify the following ProGuard rules to fix errors and force ProGuard to keep certain code.

# SnappyDB
-dontwarn sun.reflect.**
-dontwarn java.beans.**
-dontwarn sun.nio.ch.**
-dontwarn sun.misc.**

-keep class com.esotericsoftware.** {*;}

-keep class java.beans.** { *; }
-keep class sun.reflect.** { *; }
-keep class sun.nio.ch.** { *; }

-keep class com.snappydb.** { *; }
-dontwarn com.snappydb.**

For more information about please see SnappyDB website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules