Skip to content

Commit

Permalink
chore(deps): 更新依赖版本
Browse files Browse the repository at this point in the history
- 升级主要库版本,如: Kotlin 至 2.1.0,Compose BOM 至 2024.12.01。
- 删除不再使用的 protobuf 相关依赖和插件。
- 调整部分依赖小版本,如 Navigation 至 2.8.5,Paging 至 3.3.5。
  • Loading branch information
10331 committed Dec 14, 2024
1 parent 76d7318 commit e671135
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@ plugins {
alias(kotlinx.plugins.serialization) apply false
alias(libs.plugins.google.services) apply false
alias(libs.plugins.firebase.crashlytics) apply false
alias(libs.plugins.protubuf) apply false
alias(kotlinx.plugins.compose.compiler) apply false
}
6 changes: 3 additions & 3 deletions gradle/androidx.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
agp = "8.5.2"
agp = "8.7.3"
lifecycle = "2.8.7"
appcompat = "1.7.0"
baselineprofile = "1.3.3"
Expand All @@ -9,9 +9,9 @@ annotation = "1.9.1"
core-ktx = "1.15.0"
splashscreen = "1.0.1"
profileinstaller = "1.4.1"
navigation = "2.8.4"
navigation = "2.8.5"
datastore = "1.1.1"
paging = "3.3.4"
paging = "3.3.5"
work = "2.10.0"

[libraries]
Expand Down
2 changes: 1 addition & 1 deletion gradle/compose.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
compose-bom = "2024.11.00"
compose-bom = "2024.12.01"
compose-bom-dev = "2024.08.00-alpha01"
accompanist = "0.34.0"

Expand Down
7 changes: 3 additions & 4 deletions gradle/kotlinx.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[versions]
kotlin = "2.0.21"
ksp = "2.0.21-1.0.25"
kotlin = "2.1.0"
ksp = "2.1.0-1.0.29"
serialization = "1.7.3"
xml_serialization = "0.86.2"
coroutines = "1.9.0"
ktor = "2.3.12"
ktor = "3.0.2"
datetime = "0.6.1"
collections-immutable = "0.3.8"

Expand Down
8 changes: 2 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
junit = "4.13.2"
okio = "3.9.1"
coil3 = "3.0.0-rc01"
coil3 = "3.0.0"
richtext = "0.20.0"
koin = "4.0.0"
koinAnnotation = "1.4.0-RC3"
Expand All @@ -10,12 +10,10 @@ androidx-test-espresso-espresso-core = "3.6.1"
com-google-android-material-material = "1.12.0"
lottie = "6.5.2"
google-services = "4.4.2"
firebase-bom = "33.6.0"
firebase-bom = "33.7.0"
firebase-crashlytics-gradle = "3.0.2"
uiautomator = "2.3.0"
benchmark-macro-junit4 = "1.3.3"
protobuf-gradle = "0.9.4"
protobuf = "4.26.0"
kermit = "2.0.4"

[libraries]
Expand Down Expand Up @@ -58,7 +56,6 @@ firebase-crashlytics-ktx = { group = "com.google.firebase", name = "firebase-cra
uiautomator = { group = "androidx.test.uiautomator", name = "uiautomator", version.ref = "uiautomator" }
benchmark-macro-junit4 = { group = "androidx.benchmark", name = "benchmark-macro-junit4", version.ref = "benchmark-macro-junit4" }

protobuf-kotlin-lite = { module = "com.google.protobuf:protobuf-kotlin-lite", version.ref = "protobuf" }

kermit = { module = "co.touchlab:kermit", version.ref = "kermit" }

Expand All @@ -72,4 +69,3 @@ firebase = ["firebase-analytics-ktx", "firebase-crashlytics-ktx"]
[plugins]
google-services = { id = "com.google.gms.google-services", version.ref = "google-services" }
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version.ref = "firebase-crashlytics-gradle" }
protubuf = { id = "com.google.protobuf", version.ref = "protobuf-gradle" }

0 comments on commit e671135

Please sign in to comment.