From 7a22223110bd5e96cfd226b33c3c51a6f4072434 Mon Sep 17 00:00:00 2001 From: liujingxing <327744707@qq.com> Date: Fri, 19 Feb 2021 17:51:52 +0800 Subject: [PATCH] =?UTF-8?q?RxHttp=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E8=87=B32.5.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- README_zh.md | 14 +++++++------- app/build.gradle | 8 ++++---- gradle.properties | 6 +++--- maven_dependency.md | 4 ++-- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index fd8548ed..1e8dcc9d 100644 --- a/README.md +++ b/README.md @@ -35,9 +35,9 @@ android { } dependencies { - implementation 'com.ljx.rxhttp:rxhttp:2.5.4' + implementation 'com.ljx.rxhttp:rxhttp:2.5.5' implementation 'com.squareup.okhttp3:okhttp:4.9.0' - kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.4' //Use the annotationProcessor instead of kapt, if you use Java + kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.5' //Use the annotationProcessor instead of kapt, if you use Java } ``` @@ -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.4' - implementation 'com.ljx.rxhttp:converter-jackson:2.5.4' - implementation 'com.ljx.rxhttp:converter-moshi:2.5.4' - implementation 'com.ljx.rxhttp:converter-protobuf:2.5.4' - implementation 'com.ljx.rxhttp:converter-simplexml:2.5.4' + implementation 'com.ljx.rxhttp:converter-fastjson:2.5.5' + implementation 'com.ljx.rxhttp:converter-jackson:2.5.5' + implementation 'com.ljx.rxhttp:converter-moshi:2.5.5' + implementation 'com.ljx.rxhttp:converter-protobuf:2.5.5' + implementation 'com.ljx.rxhttp:converter-simplexml:2.5.5' } ``` diff --git a/README_zh.md b/README_zh.md index ddaf6413..bf42f7a5 100644 --- a/README_zh.md +++ b/README_zh.md @@ -70,9 +70,9 @@ android { } dependencies { - implementation 'com.ljx.rxhttp:rxhttp:2.5.4' + implementation 'com.ljx.rxhttp:rxhttp:2.5.5' implementation 'com.squareup.okhttp3:okhttp:4.9.0' //rxhttp v2.2.2版本起,需要手动依赖okhttp - kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.4' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt + kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.5' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt } ``` @@ -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.4' - implementation 'com.ljx.rxhttp:converter-jackson:2.5.4' - implementation 'com.ljx.rxhttp:converter-moshi:2.5.4' - implementation 'com.ljx.rxhttp:converter-protobuf:2.5.4' - implementation 'com.ljx.rxhttp:converter-simplexml:2.5.4' + implementation 'com.ljx.rxhttp:converter-fastjson:2.5.5' + implementation 'com.ljx.rxhttp:converter-jackson:2.5.5' + implementation 'com.ljx.rxhttp:converter-moshi:2.5.5' + implementation 'com.ljx.rxhttp:converter-protobuf:2.5.5' + implementation 'com.ljx.rxhttp:converter-simplexml:2.5.5' } ``` diff --git a/app/build.gradle b/app/build.gradle index 6a490284..f401f064 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -58,13 +58,13 @@ dependencies { implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0" implementation 'androidx.lifecycle:lifecycle-service:2.3.0-beta01' - 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' diff --git a/gradle.properties b/gradle.properties index 36b99349..6652abec 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,9 +19,9 @@ org.gradle.jvmargs=-Xmx1536m okhttp_version=4.9.0 -rxhttp_version=2.5.4 -rxhttp_next_version=2.5.5 -rxhttp_converter_version=2.5.4 +rxhttp_version=2.5.5 +rxhttp_next_version=2.5.6 +rxhttp_converter_version=2.5.5 fastjson_version=1.2.73 jackson_version=2.11.1 diff --git a/maven_dependency.md b/maven_dependency.md index a3fbd1b3..a2e46157 100644 --- a/maven_dependency.md +++ b/maven_dependency.md @@ -16,7 +16,7 @@ <dependency> <groupId>com.ljx.rxhttp</groupId> <artifactId>rxhttp</artifactId> - <version>2.5.4</version> + <version>2.5.5</version> </dependency> <!-- 非必须 RxJava2/RxJava3 二选一或都不选 --> @@ -48,7 +48,7 @@ <path> <groupId>com.ljx.rxhttp</groupId> <artifactId>rxhttp-compiler</artifactId> - <version>2.5.4</version> + <version>2.5.5</version> </path> </annotationProcessorPaths>