diff --git a/daraja/build.gradle.kts b/daraja/build.gradle.kts index 14a4098..7757b1c 100644 --- a/daraja/build.gradle.kts +++ b/daraja/build.gradle.kts @@ -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) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8a06856..6d6113e 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" } \ No newline at end of file +assertK = { module = "com.willowtreeapps.assertk:assertk", version.ref = "assertK" } + +[bundles] +ktor = ["ktor-core", "ktor-serialization", "ktor-contentNegotiation", "ktor-json", "ktor-logging"] \ No newline at end of file