Kotlin-MCP can't be used without ktor-bom starting from 0.7.5 (#390) (#392)

This commit is contained in:
Ruslan Ibrahimau (Ibragimov) 2025-11-12 14:32:54 +01:00 • committed by GitHub
commit 31fd6d93da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 16 deletions

View file

@ -39,28 +39,27 @@ kotlinx-io-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-io-core", v
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" } kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" }
# Ktor # Ktor
ktor-bom = { group = "io.ktor", name = "ktor-bom", version.ref = "ktor" } ktor-client-apache5 = { group = "io.ktor", name = "ktor-client-apache5", version.ref = "ktor" }
ktor-client-apache5 = { group = "io.ktor", name = "ktor-client-apache5" } ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
ktor-client-core = { group = "io.ktor", name = "ktor-client-core" } ktor-client-logging = { group = "io.ktor", name = "ktor-client-logging", version.ref = "ktor" }
ktor-client-logging = { group = "io.ktor", name = "ktor-client-logging" } ktor-server-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" }
ktor-server-core = { group = "io.ktor", name = "ktor-server-core" } ktor-server-sse = { group = "io.ktor", name = "ktor-server-sse", version.ref = "ktor" }
ktor-server-sse = { group = "io.ktor", name = "ktor-server-sse" } ktor-server-websockets = { group = "io.ktor", name = "ktor-server-websockets", version.ref = "ktor" }
ktor-server-websockets = { group = "io.ktor", name = "ktor-server-websockets" }
# Testing # Testing
awaitility = { group = "org.awaitility", name = "awaitility-kotlin", version.ref = "awaitility" } awaitility = { group = "org.awaitility", name = "awaitility-kotlin", version.ref = "awaitility" }
kotest-assertions-core = { group = "io.kotest", name = "kotest-assertions-core", version.ref = "kotest" } kotest-assertions-core = { group = "io.kotest", name = "kotest-assertions-core", version.ref = "kotest" }
kotest-assertions-json = { group = "io.kotest", name = "kotest-assertions-json", version.ref = "kotest" } kotest-assertions-json = { group = "io.kotest", name = "kotest-assertions-json", version.ref = "kotest" }
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" } kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock" } ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock", version.ref = "ktor" }
ktor-server-test-host = { group = "io.ktor", name = "ktor-server-test-host" } ktor-server-test-host = { group = "io.ktor", name = "ktor-server-test-host", version.ref = "ktor" }
mokksy = { group = "dev.mokksy", name = "mokksy", version.ref = "mokksy" } mokksy = { group = "dev.mokksy", name = "mokksy", version.ref = "mokksy" }
netty-bom = { group = "io.netty", name = "netty-bom", version.ref = "netty" } netty-bom = { group = "io.netty", name = "netty-bom", version.ref = "netty" }
slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" } slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" }
# Samples # Samples
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio" } ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio" } ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio", version.ref = "ktor" }
[plugins] [plugins]
kotlinx-binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidatorPlugin" } kotlinx-binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidatorPlugin" }

View file

@ -32,7 +32,6 @@ kotlin {
sourceSets { sourceSets {
commonMain { commonMain {
dependencies { dependencies {
implementation(dependencies.platform(libs.ktor.bom))
api(project(":kotlin-sdk-core")) api(project(":kotlin-sdk-core"))
api(libs.ktor.client.core) api(libs.ktor.client.core)
implementation(libs.kotlin.logging) implementation(libs.kotlin.logging)

View file

@ -110,7 +110,6 @@ kotlin {
commonMain { commonMain {
kotlin.srcDir(generateLibVersion) kotlin.srcDir(generateLibVersion)
dependencies { dependencies {
implementation(dependencies.platform(libs.ktor.bom))
api(libs.kotlinx.serialization.json) api(libs.kotlinx.serialization.json)
api(libs.kotlinx.coroutines.core) api(libs.kotlinx.coroutines.core)
api(libs.kotlinx.io.core) api(libs.kotlinx.io.core)

View file

@ -9,7 +9,6 @@ kotlin {
sourceSets { sourceSets {
commonMain { commonMain {
dependencies { dependencies {
implementation(dependencies.platform(libs.ktor.bom))
api(project(":kotlin-sdk-core")) api(project(":kotlin-sdk-core"))
api(libs.ktor.server.core) api(libs.ktor.server.core)
api(libs.ktor.server.sse) api(libs.ktor.server.sse)

View file

@ -11,7 +11,6 @@ kotlin {
sourceSets { sourceSets {
commonTest { commonTest {
dependencies { dependencies {
implementation(dependencies.platform(libs.ktor.bom))
implementation(project(":kotlin-sdk")) implementation(project(":kotlin-sdk"))
implementation(kotlin("test")) implementation(kotlin("test"))
implementation(libs.kotest.assertions.core) implementation(libs.kotest.assertions.core)

View file

@ -7,7 +7,6 @@ kotlin {
sourceSets { sourceSets {
commonMain { commonMain {
dependencies { dependencies {
implementation(dependencies.platform(libs.ktor.bom))
api(project(":kotlin-sdk-core")) api(project(":kotlin-sdk-core"))
api(project(":kotlin-sdk-client")) api(project(":kotlin-sdk-client"))
api(project(":kotlin-sdk-server")) api(project(":kotlin-sdk-server"))