Skip to content

Commit 5858afd

Browse files
MukjepScarletkpavlov
authored andcommitted
add CIO dependency for test and sample
1 parent f4ee237 commit 5858afd

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4
5151
kotest-assertions-json = { group = "io.kotest", name = "kotest-assertions-json", version.ref = "kotest" }
5252

5353
# Samples
54+
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
55+
ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio", version.ref = "ktor" }
5456
mcp-kotlin = { group = "io.modelcontextprotocol", name = "kotlin-sdk", version.ref = "mcp-kotlin" }
5557
anthropic-java = { group = "com.anthropic", name = "anthropic-java", version.ref = "anthropic" }
5658
ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" }

kotlin-sdk-test/build.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ kotlin {
1313
dependencies {
1414
implementation(project(":kotlin-sdk"))
1515
implementation(kotlin("test"))
16+
implementation(libs.ktor.client.cio)
17+
implementation(libs.ktor.server.cio)
1618
implementation(libs.ktor.server.test.host)
1719
implementation(libs.kotlinx.coroutines.test)
1820
implementation(libs.kotest.assertions.json)

samples/kotlin-mcp-server/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ kotlin {
4444
sourceSets {
4545
commonMain.dependencies {
4646
implementation(libs.mcp.kotlin)
47+
implementation(libs.ktor.server.cio)
4748
}
4849
jvmMain.dependencies {
4950
implementation(libs.slf4j.simple)

0 commit comments

Comments
 (0)