diff --git a/app/build.gradle b/app/build.gradle index 912be63..3ec23c4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -512,7 +512,6 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.3.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation "androidx.room:room-runtime:2.3.0" annotationProcessor "androidx.room:room-compiler:2.3.0" @@ -522,8 +521,6 @@ dependencies { implementation 'androidx.lifecycle:lifecycle-viewmodel:2.3.1' implementation 'androidx.lifecycle:lifecycle-livedata:2.3.1' implementation 'androidx.lifecycle:lifecycle-runtime:2.3.1' - // 可选:RxJava3 Observable → LiveData 的桥接 - implementation 'androidx.lifecycle:lifecycle-reactivestreams:2.3.1' implementation "androidx.lifecycle:lifecycle-service:2.3.1" testImplementation 'junit:junit:4.13.2' @@ -531,24 +528,24 @@ dependencies { androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0' //okhttp - implementation 'com.squareup.okhttp3:okhttp:4.8.1' - implementation 'com.squareup.okhttp3:logging-interceptor:4.8.1' + implementation 'com.squareup.okhttp3:okhttp:4.9.3' + implementation 'com.squareup.okhttp3:logging-interceptor:4.9.3' //Retrofit implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0' //RxJava - implementation 'io.reactivex.rxjava3:rxjava:3.0.0' - implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' + implementation 'io.reactivex.rxjava3:rxjava:3.1.8' + implementation 'io.reactivex.rxjava3:rxandroid:3.0.2' implementation 'com.jeremyliao:live-event-bus-x:1.7.3' //Google - implementation 'com.google.code.gson:gson:2.9.0' + implementation 'com.google.code.gson:gson:2.10.1' implementation 'com.google.zxing:core:3.5.0' //图片加载框架 - implementation 'com.github.bumptech.glide:glide:4.13.2' - annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2' + implementation 'com.github.bumptech.glide:glide:4.14.2' + annotationProcessor 'com.github.bumptech.glide:compiler:4.14.2' //磁盘缓存 implementation 'com.jakewharton:disklrucache:2.0.2' //图表