Skip to content

Commit

Permalink
Added ktor bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Dec 13, 2024
1 parent 38d7ee7 commit c9c28d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions daraja/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ kotlin {
commonMain.dependencies {
implementation(libs.kotlinX.coroutines)

implementation(libs.ktor.contentNegotiation)
implementation(libs.ktor.json)
implementation(libs.ktor.logging)
implementation(libs.bundles.ktor)

implementation(libs.kotlinX.serializationJson)
implementation(libs.kotlinX.dateTime)
Expand Down
5 changes: 4 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,7 @@ cache4k = { module = "io.github.reactivecircus.cache4k:cache4k", version.ref = "
#Tests Lib Dependencies
kotlinX-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinxCoroutines" }
mockative = { module = "io.mockative:mockative", version.ref = "mockative" }
assertK = { module = "com.willowtreeapps.assertk:assertk", version.ref = "assertK" }
assertK = { module = "com.willowtreeapps.assertk:assertk", version.ref = "assertK" }

[bundles]
ktor = ["ktor-core", "ktor-serialization", "ktor-contentNegotiation", "ktor-json", "ktor-logging"]

0 comments on commit c9c28d0

Please sign in to comment.