kotlin-sdk/kotlin-sdk-test/build.gradle.kts
Maria Tigina f27fe9a41d
Refactor mcp server, rename connect to (#364)
- Rename `connect` to `createSession` in `Server.kt `to make naming more
clear
- Add block to configure build to `Server.kt`
- Move sse test to jvm to be able to run, small test refactoring
- Introduce base integration test for sse server / client
2025-11-03 15:32:25 +01:00

32 lines
899 B
Kotlin

plugins {
id("mcp.multiplatform")
}
kotlin {
jvm {
tasks.withType<Test> {
useJUnitPlatform()
}
}
sourceSets {
commonTest {
dependencies {
implementation(project(":kotlin-sdk"))
implementation(kotlin("test"))
implementation(libs.kotest.assertions.json)
implementation(libs.kotlin.logging)
implementation(libs.kotlinx.coroutines.test)
implementation(libs.ktor.client.cio)
implementation(libs.ktor.server.cio)
implementation(libs.ktor.server.websockets)
implementation(libs.ktor.server.test.host)
}
}
jvmTest {
dependencies {
implementation(libs.awaitility)
runtimeOnly(libs.slf4j.simple)
}
}
}
}