Skip to content

Commit

Permalink
修改readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Dec 27, 2017
1 parent c4865fe commit 1ba8061
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ allprojects {

```groovy
dependencies {
compile 'com.tonystark.android:socket:1.0.1'
compile 'com.tonystark.android:socket:1.2.0'
}
```

Expand Down Expand Up @@ -62,6 +62,9 @@ dependencies {
-keep class com.xuhao.android.socket.sdk.OkSocketOptions$* {
*;
}
-keep class com.xuhao.android.libsocket.sdk.OkSocketSSLConfig$* {
*;
}
```

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ files than you need put this into Module build.gradle file</font>

```groovy
dependencies {
compile 'com.tonystark.android:socket:1.0.1'
compile 'com.tonystark.android:socket:1.2.0'
}
```

Expand Down Expand Up @@ -64,7 +64,9 @@ dependencies {
-keep class com.xuhao.android.socket.sdk.OkSocketOptions$* {
*;
}
-keep class com.xuhao.android.libsocket.sdk.OkSocketSSLConfig$* {
*;
}
```

### <font id="5">OkSocket Initialization</font>
Expand Down
3 changes: 3 additions & 0 deletions socket/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@
-keep class com.xuhao.android.libsocket.sdk.OkSocketOptions$* {
*;
}
-keep class com.xuhao.android.libsocket.sdk.OkSocketSSLConfig$* {
*;
}
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

0 comments on commit 1ba8061

Please sign in to comment.