LitePal ProGuard rules

LitePal – is an Android library that makes developers use SQLite database extremely easy.

You can finish most of the database operations without writing even a SQL statement, including create or upgrade tables, crud operations, aggregate functions, etc.

ProGuard rules for LitePal

Unused classes, attributes will be removed by ProGuard's optimization phase. Remaining classes, fields, and methods after obfuscation phase will be with short names. Use the following rules in proguard-rules.pro configuration file.

# LitePal
-keep class org.litepal.** {
    *;
}

-keep class * extends org.litepal.crud.DataSupport {
    *;
}

For more information about please see LitePal website.

Related ProGuard rules

Static Gson ProGuard rules

Popular ProGuard rules