Skip to content

Commit

Permalink
Update doc about proguard.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Feb 22, 2017
1 parent 6bd2098 commit ca29ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ dependencies {
5. Add proguard rule(If proguard tools was used)

-keep public class com.alibaba.android.arouter.routes.**{*;}
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}

#### Ⅳ. Further Usage
1. Route by URL
Expand Down
1 change: 1 addition & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ dependencies {
5. 添加混淆规则(如果使用了Proguard)

-keep public class com.alibaba.android.arouter.routes.**{*;}
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}

#### 五、进阶用法
1. 通过URL跳转
Expand Down

0 comments on commit ca29ba3

Please sign in to comment.