Skip to content

Commit

Permalink
增加版本说明
Browse files Browse the repository at this point in the history
  • Loading branch information
xuexiangjys committed Jul 12, 2020
1 parent 2777faa commit e4c0021
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,24 @@ allprojects {

2.然后在dependencies添加:

以下是版本说明,选择一个即可。

* androidx版本:2.0.0及以上

```
dependencies {
...
implementation 'com.github.xuexiangjys:XHttp2:2.0.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'io.reactivex.rxjava2:rxjava:2.2.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
}
```

* support版本:1.0.4及以下

```
dependencies {
...
Expand All @@ -103,6 +121,8 @@ dependencies {
}
```



3.在Application中初始化XHttpSDK

```
Expand Down
Binary file modified apk/xhttp2_demo_1.0.apk
Binary file not shown.

0 comments on commit e4c0021

Please sign in to comment.