Skip to content

Commit

Permalink
Update AndProGuard-GreenDAO.pro
Browse files Browse the repository at this point in the history
  • Loading branch information
大F committed Jun 24, 2019
1 parent d407d16 commit abc1940
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions library/AndProGuard-GreenDAO.pro
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# http://greenrobot.org/eventbus/documentation/proguard/
-keepattributes *Annotation*
-keepclassmembers class * {
@org.greenrobot.eventbus.Subscribe <methods>;
# http://greenrobot.org/greendao/documentation//technical-faq
### greenDAO 3
-keepclassmembers class * extends org.greenrobot.greendao.AbstractDao {
public static java.lang.String TABLENAME;
}
-keep enum org.greenrobot.eventbus.ThreadMode { *; }

# Only required if you use AsyncExecutor
-keepclassmembers class * extends org.greenrobot.eventbus.util.ThrowableFailureEvent {
<init>(java.lang.Throwable);
}
-keep class **$Properties

# If you do not use SQLCipher:
-dontwarn org.greenrobot.greendao.database.**
# If you do not use RxJava:
-dontwarn rx.**

### greenDAO 2
-keepclassmembers class * extends de.greenrobot.dao.AbstractDao {
public static java.lang.String TABLENAME;
}
-keep class **$Properties

0 comments on commit abc1940

Please sign in to comment.