Compare commits

...

2 Commits

Author SHA1 Message Date
renhaoting adf08dceb0 ktx runtime 统一使用tom 版本 2026-01-08 16:09:41 +08:00
renhaoting 2ae95eea06 调整 gson 版本 2026-01-08 15:50:27 +08:00
5 changed files with 9 additions and 13 deletions

View File

@ -89,7 +89,7 @@ dependencies {
implementation(libs.datastore)
implementation(libs.protobuf.kotlin.lite)
implementation(libs.kotlinx.serialization.json)
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation("com.squareup.retrofit2:converter-gson:2.11.0")
implementation(libs.glide) // ImageLoader在用
implementation(libs.okhttp.logging)
implementation(libs.retrofit)

View File

@ -26,8 +26,8 @@ dependencies {
api(libs.okhttp.logging)
api(libs.kotlinx.serialization.json)
//api(libs.multiDex)
//api(libs.gson)
api 'com.google.code.gson:gson:2.13.2'
api(libs.gson)
//api 'com.google.code.gson:gson:2.13.2'
implementation(libs.startup)
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'

View File

@ -39,7 +39,7 @@ smartRefreshLayout = "3.0.0-alpha"
retrofit = "2.11.0"
okhttp = "4.12.0"
glide = "4.16.0"
gson = "2.10.1"
gson = "2.11.0"
testPoint = "0.0.1"
spans = "1.1.0"
multiDex = "2.0.1"
@ -116,7 +116,7 @@ glide-compiler = { group = "com.github.bumptech.glide", name = "compiler", versi
multiDex = { group = "androidx.multidex:multidex", name = "multiDex", version.ref = "multiDex" }
# gson
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
gson = { group = "com.google.code.gson", name = "gson", version.ref = "gson" }
# test-point
test-point-annotation = { group = "io.github.zrq1060", name = "test-point-annotation", version.ref = "testPoint" }

View File

@ -35,10 +35,6 @@ android {
}
dependencies {
testImplementation "junit:junit:$versions.junit"
androidTestImplementation "androidx.test:runner:$versions.runner"
androidTestImplementation "androidx.test.espresso:espresso-core:$versions.espressoCore"
api "androidx.lifecycle:lifecycle-runtime-ktx:$versions.androidxLifecycleRuntime"
implementation(libs.androidx.lifecycle.runtime.ktx)
}

View File

@ -37,8 +37,8 @@ android {
}
dependencies {
api project(':youtube:core')
implementation "androidx.core:core-ktx:$versions.androidxCore"
implementation "androidx.recyclerview:recyclerview:$versions.androidxRecyclerView"
implementation project(':youtube:core')
implementation(libs.androidx.core.ktx)
implementation(libs.recyclerview)
}