diff --git a/README.md b/README.md index c0c16ee0..44cb9aae 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ kotlin { } dependencies { - def rxhttp_version = '2.9.0' + def rxhttp_version = '2.9.1' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" // ksp/kapt/annotationProcessor choose one @@ -91,6 +91,7 @@ dependencies { ### 1、Coverter ```kotlin +implementation "com.github.liujingxing.rxhttp:converter-serialization:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-fastjson:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-jackson:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-moshi:$rxhttp_version" diff --git a/README_zh.md b/README_zh.md index f8e1d011..c0b88612 100644 --- a/README_zh.md +++ b/README_zh.md @@ -121,7 +121,7 @@ kotlin { } dependencies { - def rxhttp_version = '2.9.0' + def rxhttp_version = '2.9.1' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" // ksp/kapt/annotationProcessor 选其一 @@ -138,6 +138,7 @@ dependencies { ```kotlin //非必须,根据自己需求选择 RxHttp默认内置了GsonConverter +implementation "com.github.liujingxing.rxhttp:converter-serialization:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-fastjson:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-jackson:$rxhttp_version" implementation "com.github.liujingxing.rxhttp:converter-moshi:$rxhttp_version" diff --git a/app/build.gradle b/app/build.gradle index 11ef4783..ff626246 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -97,6 +97,7 @@ dependencies { implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation "io.reactivex.rxjava3:rxjava:$rxjava_version" +// implementation "com.github.liujingxing.rxhttp:converter-serialization:$rxhttp_version" // implementation "com.github.liujingxing.rxhttp:converter-fastjson:$rxhttp_version" // implementation "com.github.liujingxing.rxhttp:converter-jackson:$rxhttp_version" // implementation "com.github.liujingxing.rxhttp:converter-moshi:$rxhttp_version" diff --git a/maven_dependency.md b/maven_dependency.md index 596be30f..addebd05 100644 --- a/maven_dependency.md +++ b/maven_dependency.md @@ -16,7 +16,7 @@ com.github.liujingxing.rxhttp rxhttp - 2.9.0 + 2.9.1 @@ -48,7 +48,7 @@ com.github.liujingxing.rxhttp rxhttp-compiler - 2.9.0 + 2.9.1