Skip to content

Commit

Permalink
rxhttp版本更新至2.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
liujingxing committed Dec 20, 2020
1 parent 2a48d30 commit 2c0cafc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ android {
}

dependencies {
implementation 'com.ljx.rxhttp:rxhttp:2.5.1'
implementation 'com.ljx.rxhttp:rxhttp:2.5.2'
implementation 'com.squareup.okhttp3:okhttp:4.9.0'
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.1' //Use the annotationProcessor instead of kapt, if you use Java
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.2' //Use the annotationProcessor instead of kapt, if you use Java
}
```

Expand Down Expand Up @@ -69,11 +69,11 @@ dependencies {
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0' //RxJava3, Automatic close request

implementation 'com.ljx.rxhttp:converter-fastjson:2.5.1'
implementation 'com.ljx.rxhttp:converter-jackson:2.5.1'
implementation 'com.ljx.rxhttp:converter-moshi:2.5.1'
implementation 'com.ljx.rxhttp:converter-protobuf:2.5.1'
implementation 'com.ljx.rxhttp:converter-simplexml:2.5.1'
implementation 'com.ljx.rxhttp:converter-fastjson:2.5.2'
implementation 'com.ljx.rxhttp:converter-jackson:2.5.2'
implementation 'com.ljx.rxhttp:converter-moshi:2.5.2'
implementation 'com.ljx.rxhttp:converter-protobuf:2.5.2'
implementation 'com.ljx.rxhttp:converter-simplexml:2.5.2'
}
```

Expand Down
14 changes: 7 additions & 7 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ android {
}

dependencies {
implementation 'com.ljx.rxhttp:rxhttp:2.5.1'
implementation 'com.ljx.rxhttp:rxhttp:2.5.2'
implementation 'com.squareup.okhttp3:okhttp:4.9.0' //rxhttp v2.2.2版本起,需要手动依赖okhttp
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.1' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt
kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.2' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt
}
```

Expand Down Expand Up @@ -105,11 +105,11 @@ dependencies {
implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0' //管理RxJava3生命周期,页面销毁,关闭请求

//非必须,根据自己需求选择 RxHttp默认内置了GsonConverter
implementation 'com.ljx.rxhttp:converter-fastjson:2.5.1'
implementation 'com.ljx.rxhttp:converter-jackson:2.5.1'
implementation 'com.ljx.rxhttp:converter-moshi:2.5.1'
implementation 'com.ljx.rxhttp:converter-protobuf:2.5.1'
implementation 'com.ljx.rxhttp:converter-simplexml:2.5.1'
implementation 'com.ljx.rxhttp:converter-fastjson:2.5.2'
implementation 'com.ljx.rxhttp:converter-jackson:2.5.2'
implementation 'com.ljx.rxhttp:converter-moshi:2.5.2'
implementation 'com.ljx.rxhttp:converter-protobuf:2.5.2'
implementation 'com.ljx.rxhttp:converter-simplexml:2.5.2'
}
```

Expand Down
8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"

implementation project(":rxhttp")
kapt project(':rxhttp-compiler')
// implementation project(":rxhttp")
// kapt project(':rxhttp-compiler')

implementation "com.squareup.okhttp3:okhttp:${okhttp_version}"

// implementation "com.ljx.rxhttp:rxhttp:${rxhttp_version}"
// kapt "com.ljx.rxhttp:rxhttp-compiler:${rxhttp_version}"
implementation "com.ljx.rxhttp:rxhttp:${rxhttp_version}"
kapt "com.ljx.rxhttp:rxhttp-compiler:${rxhttp_version}"

implementation 'com.ljx.rxlife:rxlife-coroutine:2.0.1'

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ org.gradle.jvmargs=-Xmx1536m

okhttp_version=4.9.0

rxhttp_version=2.5.1
rxhttp_next_version=2.5.2
rxhttp_converter_version=2.5.1
rxhttp_version=2.5.2
rxhttp_next_version=2.5.3
rxhttp_converter_version=2.5.2

fastjson_version=1.2.73
jackson_version=2.11.1
Expand Down
4 changes: 2 additions & 2 deletions maven_dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>com.ljx.rxhttp</groupId>
<artifactId>rxhttp</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>

<!-- 非必须 RxJava2/RxJava3 二选一或都不选 -->
Expand Down Expand Up @@ -48,7 +48,7 @@
<path>
<groupId>com.ljx.rxhttp</groupId>
<artifactId>rxhttp-compiler</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</path>
</annotationProcessorPaths>

Expand Down

0 comments on commit 2c0cafc

Please sign in to comment.