Sugar ORM ProGuard rules

Sugar ORM – library that provides insanely easy way to work with Android databases.

ProGuard rules for Sugar ORM

ProGuard will analyze bytecode to find unused classes, and attributes automatically. ProGuard also optimizes the bytecode, removes unused code instructions, and obfuscates the remaining classes, fields, and methods with short names. Specify the following ProGuard rules to fix errors and force ProGuard to keep certain code.

# Sugar ORM
# Ensures entities remain un-obfuscated so table and columns are named correctly
-keep class com.yourpackage.yourapp.domainclasspackage.** { *; }

For more information about please see Sugar ORM website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules