From 2c0cafce50f597241561bbdb69d1c264e047c2f4 Mon Sep 17 00:00:00 2001 From: liujingxing <327744707@qq.com> Date: Sun, 20 Dec 2020 12:54:40 +0800 Subject: [PATCH] =?UTF-8?q?rxhttp=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E8=87=B32.5.2?= 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 100f1892..340d6735 100644 --- a/README.md +++ b/README.md @@ -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 } ``` @@ -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' } ``` diff --git a/README_zh.md b/README_zh.md index 715632a9..aa3259eb 100644 --- a/README_zh.md +++ b/README_zh.md @@ -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 } ``` @@ -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' } ``` diff --git a/app/build.gradle b/app/build.gradle index 7adaf156..31b6f2e0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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' diff --git a/gradle.properties b/gradle.properties index 2255d93e..8af818af 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/maven_dependency.md b/maven_dependency.md index a1720876..6b7bb5d0 100644 --- a/maven_dependency.md +++ b/maven_dependency.md @@ -16,7 +16,7 @@ com.ljx.rxhttp rxhttp - 2.5.1 + 2.5.2 @@ -48,7 +48,7 @@ com.ljx.rxhttp rxhttp-compiler - 2.5.1 + 2.5.2