Skip to content

Commit fbb7ac0

Browse files
michalharakalclaude
andcommitted
chore(build): drop deprecated kotlin("stdlib-common") from KMP modules
Kotlin 2.x unified `kotlin-stdlib-common` into `kotlin-stdlib`, and the kotlin-multiplatform plugin auto-adds the stdlib to commonMain. The explicit `api(kotlin("stdlib-common"))` declarations are deprecated and were the suspected (latent) cause of the metadata/JS classpath regression tracked in #105. Removing them keeps build files current with Kotlin 2.x and removes a footgun. Verified across :llm-api, :llm-core, :llm-performance: compileCommonMainKotlinMetadata, compileKotlinJvm, compileKotlinJs all build cleanly with --rerun-tasks --no-build-cache. Refs #105. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 036effd commit fbb7ac0

3 files changed

Lines changed: 0 additions & 6 deletions

File tree

llm-api/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ kotlin {
5050

5151
sourceSets {
5252
commonMain.dependencies {
53-
api(kotlin("stdlib-common"))
5453
api(libs.kotlinx.coroutines)
5554
}
5655

llm-core/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ kotlin {
4343

4444
sourceSets {
4545
commonMain.dependencies {
46-
api(kotlin("stdlib-common"))
4746
implementation(libs.skainet.lang.core)
4847
implementation(libs.skainet.compile.dag)
4948
implementation(libs.skainet.compile.opt)

llm-performance/build.gradle.kts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ kotlin {
5151
}
5252

5353
sourceSets {
54-
commonMain.dependencies {
55-
api(kotlin("stdlib-common"))
56-
}
57-
5854
commonTest.dependencies {
5955
implementation(libs.kotlin.test)
6056
}

0 commit comments

Comments
 (0)