Skip to content

Commit ead414d

Browse files
committed
RxHttp 版本升级至2.8.0
1 parent 347bd24 commit ead414d

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ android {
6464
}
6565
}
6666

67+
//configurations.all {
68+
// resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
69+
//}
70+
6771
dependencies {
6872
implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
6973
implementation 'androidx.multidex:multidex:2.0.1'
@@ -78,13 +82,14 @@ dependencies {
7882
implementation 'androidx.lifecycle:lifecycle-service:2.3.1'
7983

8084
implementation project(":rxhttp")
81-
// ksp project(':rxhttp-compiler')
82-
kapt project(':rxhttp-compiler')
85+
ksp project(':rxhttp-compiler')
86+
// kapt project(':rxhttp-compiler')
8387
// implementation "com.squareup.okhttp3:logging-interceptor:${okhttp_version}"
8488

8589
implementation "com.squareup.okhttp3:okhttp:${okhttp_version}"
8690

8791
// implementation "com.github.liujingxing.rxhttp:rxhttp:${rxhttp_version}"
92+
// ksp "com.github.liujingxing.rxhttp:rxhttp-compiler:${rxhttp_version}"
8893
// kapt "com.github.liujingxing.rxhttp:rxhttp-compiler:${rxhttp_version}"
8994

9095
//管理RxJava及生命周期,Activity/Fragment 销毁,自动关闭未完成的请求

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ org.gradle.jvmargs=-Xmx1536m
1919

2020
okhttp_version=4.9.1
2121
rxlife_version=2.2.1
22-
rxhttp_version=2.8.0-beta1
22+
rxhttp_version=2.8.0
2323

2424
fastjson_version=1.2.76
2525
jackson_version=2.12.3

0 commit comments

Comments
 (0)