Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
F1ReKing committed Jan 15, 2020
2 parents 96f1e34 + 6c43e05 commit 945c514
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ AndProGuard 是为了方便Android开发者防混淆配置的库,只要使用
#### Step 2. Add the dependency
```
dependencies {
compile 'com.github.F1ReKing:AndProGuard:x.y.z'
implementation 'com.github.F1ReKing:AndProGuard:x.y.z'
}
```
Current latest version: [![](https://jitpack.io/v/F1ReKing/AndProGuard.svg)](https://jitpack.io/#F1ReKing/AndProGuard)
Expand Down
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 945c514

Please sign in to comment.