Skip to content

Commit 3c36718

Browse files
committed
Migrate ktor-client-okhttp dependency to version catalog
1 parent 9a3ab1b commit 3c36718

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composeApp/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ kotlin {
8787
implementation(libs.koin.androidx.compose)
8888
implementation(libs.generativeai)
8989
implementation(compose.uiTooling)
90-
implementation("io.ktor:ktor-client-okhttp:2.3.7")
90+
implementation(libs.ktor.client.okhttp)
9191
}
9292
commonMain.dependencies {
9393
implementation(compose.runtime)

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ ktor-client-android = { module = "io.ktor:ktor-client-android" }
5757
ktor-client-content-negotiation = { module = "io.ktor:ktor-client-content-negotiation" }
5858
ktor-client-logging = { module = "io.ktor:ktor-client-logging" }
5959
ktor-client-mock = { module = "io.ktor:ktor-client-mock" }
60+
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor-bom" }
6061
ktor-client-serialization = { module = "io.ktor:ktor-client-serialization" }
6162
ktor-serialization-kotlinx-json = { module = "io.ktor:ktor-serialization-kotlinx-json" }
6263
koin-android = { module = "io.insert-koin:koin-android" }

0 commit comments

Comments
 (0)