unify kotlinx_serialization

This commit is contained in:
Milos Kozak 2023-02-27 15:57:27 +01:00
parent f9179632f2
commit c2fd6e5990
4 changed files with 4 additions and 5 deletions

View file

@ -34,7 +34,7 @@ dependencies {
api 'org.slf4j:slf4j-api:1.7.36' // 2.0.x breaks logging. Code change needed
api 'com.github.tony19:logback-android:2.0.0'
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version"
api "org.apache.commons:commons-lang3:$commonslang3_version"
//RxBus

View file

@ -27,7 +27,6 @@ buildscript {
work_version = '2.8.0'
tink_version = '1.8.0'
json_version = '20220320'
serialization_version = '1.5.0'
joda_version = '2.12.1.1'
swipe_version = '1.1.0'
@ -50,7 +49,7 @@ buildscript {
play_services_location_version = '21.0.1'
kotlinx_datetime_version = '0.4.0'
kotlinx_serialization_core_version = '1.4.1'
kotlinx_serialization_version = '1.4.1'
}
repositories {
google()

View file

@ -34,5 +34,5 @@ dependencies {
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-coroutines-rx3:$coroutines_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$serialization_version"
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version"
}

View file

@ -32,7 +32,7 @@ dependencies {
//
// Source: https://github.com/mockk/mockk/issues/685#issuecomment-907076353:
// TODO: Revisit this when upgrading kotlinx-datetime
runtimeOnly("org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlinx_serialization_core_version")
runtimeOnly("org.jetbrains.kotlinx:kotlinx-serialization-core:$kotlinx_serialization_version")
}
android {