kotlin-sdk/kotlin-sdk-core/build.gradle.kts
Pavel Gorgulov 8698b96dd2
modularize sdk (#208)
* Modularize SDK: migrated client and server implementations to separate modules. Removed old configuration files and reorganized the source code structure

* add support native targets and update js/wasm configurations

* Refactor sample projects: add samples as composite builds, replace hardcoded dependencies with version catalog, remove obsolete gradle wrapper files

* Update .gitignore: exclude SWE agent directories (.claude/ and .junie/)

* Refine CodeQL workflow: update Kotlin build steps to target individual modules separately instead of building all at once
2025-08-04 11:53:38 +02:00

45 lines
No EOL
1.1 KiB
Kotlin

@file:OptIn(ExperimentalWasmDsl::class)
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
plugins {
id("mcp.multiplatform")
id("mcp.publishing")
id("mcp.dokka")
id("mcp.jreleaser")
alias(libs.plugins.kotlinx.binary.compatibility.validator)
}
kotlin {
iosArm64(); iosX64(); iosSimulatorArm64()
watchosX64(); watchosArm64(); watchosSimulatorArm64()
tvosX64(); tvosArm64(); tvosSimulatorArm64()
js {
browser()
nodejs()
}
wasmJs {
browser()
nodejs()
}
sourceSets {
commonMain {
dependencies {
api(libs.kotlinx.serialization.json)
api(libs.kotlinx.coroutines.core)
api(libs.kotlinx.io.core)
api(libs.ktor.server.websockets)
api(libs.kotlinx.collections.immutable)
implementation(libs.kotlin.logging)
}
}
commonTest {
dependencies {
implementation(kotlin("test"))
implementation(libs.kotest.assertions.json)
}
}
}
}