Skip to content

Commit

Permalink
RxHttp 版本升级至2.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liujingxing committed Nov 23, 2021
1 parent 347bd24 commit ead414d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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 销毁,自动关闭未完成的请求
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ead414d

Please sign in to comment.