From 86f0bc96254a02031371175a362ebd886b4bf45f Mon Sep 17 00:00:00 2001 From: tongtongstudio Date: Fri, 13 Nov 2026 11:13:39 +0800 Subject: [PATCH] =?UTF-8?q?chore(deps):=20=E5=8D=87=E7=BA=A7=E7=BD=91?= =?UTF-8?q?=E7=BB=9C/RxJava/Gson/Glide=20=E4=BE=9D=E8=B5=96=E5=B9=B6?= =?UTF-8?q?=E6=B8=85=E7=90=86=E6=97=A0=E7=94=A8=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) 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' //图表