Skip to content

Commit

Permalink
Update kotlinx-serialization to version 1.8.0 (#28)
Browse files Browse the repository at this point in the history
Replaced hardcoded dependencies with library version references for kotlinx-serialization. Updated the libs.versions.toml file to reflect the new version and ensure consistency across projects. This improves maintainability and simplifies version management.
  • Loading branch information
lamba92 authored Jan 12, 2025
1 parent 480e0c8 commit 5b2050e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ kotlin {
commonMain {
dependencies {
api(projects.kotlinLeveldb)
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
api(libs.kotlinx.serialization.json)
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dokka = "2.0.0"
kotlin = "2.1.0"
kotlinx-coroutines = "1.10.1"
kotlinx-datetime = "0.6.1"
kotlinx-serialization-json = "1.7.3"
kotlinx-serialization = "1.8.0"
ktlint-gradle = "12.1.2"
ktor = "3.0.3"
androidx-test-runner = "1.6.2"
Expand All @@ -28,7 +28,8 @@ kotlin-serialization-plugin = { module = "org.jetbrains.kotlin:kotlin-serializat
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization-json" }
kotlinx-serialization-core = { module = "org.jetbrains.kotlinx:kotlinx-serialization-core", version.ref = "kotlinx-serialization" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-serialization" }
ktlint-gradle = { module = "org.jlleitschuh.gradle:ktlint-gradle", version.ref = "ktlint-gradle" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidx-test-runner" }

Expand Down
2 changes: 1 addition & 1 deletion testKmpApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ kotlin {
commonMain {
dependencies {
api(projects.kotlinLeveldb)
api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
api(libs.kotlinx.serialization.json)
}
}
}
Expand Down

0 comments on commit 5b2050e

Please sign in to comment.