Skip to content

Commit

Permalink
Add proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
chenenyu committed Feb 22, 2017
1 parent 13838c5 commit 278f0cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ Router.build(uri)

Please refer to the [wiki](https://github.com/chenenyu/Router/wiki) for more informations.

## ProGuard

```Java
# Router
-keep class com.chenenyu.router.**
```

## Contact

QQ group: 271849001
Expand Down
3 changes: 1 addition & 2 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@
#-renamesourcefileattribute SourceFile

# Router
-keep class **RouteTable { *; }
-keep class com.chenenyu.router.demo.BuildConfig { *; }
-keep class com.chenenyu.router.**

0 comments on commit 278f0cc

Please sign in to comment.