## Motivation and Context
Adds Ktor extensions for streaming data over the server-side HTTP
transport
## How Has This Been Tested?
Integration test
## Breaking Changes
-
## Types of changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
## Checklist
- [x] I have read the [MCP
Documentation](https://modelcontextprotocol.io)
- [x] My code follows the repository's style guidelines
- [x] New and existing tests pass locally
- [x] I have added appropriate error handling
- [x] I have added or updated documentation as needed
(cherry picked from commit da971aaee5)
34 lines
1 KiB
Kotlin
34 lines
1 KiB
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.core)
|
|
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.content.negotiation)
|
|
implementation(libs.ktor.serialization)
|
|
implementation(libs.ktor.server.websockets)
|
|
implementation(libs.ktor.server.test.host)
|
|
}
|
|
}
|
|
jvmTest {
|
|
dependencies {
|
|
implementation(project(":test-utils"))
|
|
}
|
|
}
|
|
}
|
|
}
|