From ead414dc41771bcd49892dcd01619568aa7322f3 Mon Sep 17 00:00:00 2001 From: liujingxing <327744707@qq.com> Date: Tue, 23 Nov 2021 22:09:43 +0800 Subject: [PATCH] =?UTF-8?q?RxHttp=20=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E8=87=B32.8.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 9 +++++++-- gradle.properties | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6cc9cdbb..91fdd587 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -64,6 +64,10 @@ android { } } +//configurations.all { +// resolutionStrategy.cacheChangingModulesFor 0, 'seconds' +//} + dependencies { implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') implementation 'androidx.multidex:multidex:2.0.1' @@ -78,13 +82,14 @@ dependencies { implementation 'androidx.lifecycle:lifecycle-service:2.3.1' implementation project(":rxhttp") -// ksp project(':rxhttp-compiler') - kapt project(':rxhttp-compiler') + ksp project(':rxhttp-compiler') +// kapt project(':rxhttp-compiler') // implementation "com.squareup.okhttp3:logging-interceptor:${okhttp_version}" implementation "com.squareup.okhttp3:okhttp:${okhttp_version}" // implementation "com.github.liujingxing.rxhttp:rxhttp:${rxhttp_version}" +// ksp "com.github.liujingxing.rxhttp:rxhttp-compiler:${rxhttp_version}" // kapt "com.github.liujingxing.rxhttp:rxhttp-compiler:${rxhttp_version}" //管理RxJava及生命周期,Activity/Fragment 销毁,自动关闭未完成的请求 diff --git a/gradle.properties b/gradle.properties index 3a1f7166..78950e99 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx1536m okhttp_version=4.9.1 rxlife_version=2.2.1 -rxhttp_version=2.8.0-beta1 +rxhttp_version=2.8.0 fastjson_version=1.2.76 jackson_version=2.12.3