From affe730c51db94d1a44bd9d04f2bcca37e5097aa Mon Sep 17 00:00:00 2001 From: liujingxing <327744707@qq.com> Date: Tue, 15 Dec 2020 14:54:11 +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.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +++++++------- app/build.gradle | 8 ++++---- gradle.properties | 6 +++--- maven_dependency.md | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 504c2837..9a23de08 100644 --- a/README.md +++ b/README.md @@ -68,9 +68,9 @@ android { } dependencies { - implementation 'com.ljx.rxhttp:rxhttp:2.4.4' + implementation 'com.ljx.rxhttp:rxhttp:2.5.1' implementation 'com.squareup.okhttp3:okhttp:4.9.0' //rxhttp v2.2.2版本起,需要手动依赖okhttp - kapt 'com.ljx.rxhttp:rxhttp-compiler:2.4.4' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt + kapt 'com.ljx.rxhttp:rxhttp-compiler:2.5.1' //生成RxHttp类,纯Java项目,请使用annotationProcessor代替kapt } ``` @@ -103,11 +103,11 @@ dependencies { implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0' //管理RxJava3生命周期,页面销毁,关闭请求 //非必须,根据自己需求选择 RxHttp默认内置了GsonConverter - implementation 'com.ljx.rxhttp:converter-fastjson:2.4.4' - implementation 'com.ljx.rxhttp:converter-jackson:2.4.4' - implementation 'com.ljx.rxhttp:converter-moshi:2.4.4' - implementation 'com.ljx.rxhttp:converter-protobuf:2.4.4' - implementation 'com.ljx.rxhttp:converter-simplexml:2.4.4' + 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' } ``` diff --git a/app/build.gradle b/app/build.gradle index 8d02fd42..2d79b76b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -58,13 +58,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 3a55c026..2255d93e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,9 +19,9 @@ org.gradle.jvmargs=-Xmx1536m okhttp_version=4.9.0 -rxhttp_version=2.4.4 -rxhttp_next_version=2.4.5 -rxhttp_converter_version=2.4.4 +rxhttp_version=2.5.1 +rxhttp_next_version=2.5.2 +rxhttp_converter_version=2.5.1 fastjson_version=1.2.73 jackson_version=2.11.1 diff --git a/maven_dependency.md b/maven_dependency.md index 813f3a13..a1720876 100644 --- a/maven_dependency.md +++ b/maven_dependency.md @@ -16,7 +16,7 @@ com.ljx.rxhttp rxhttp - 2.4.4 + 2.5.1 @@ -48,7 +48,7 @@ com.ljx.rxhttp rxhttp-compiler - 2.4.4 + 2.5.1