Skip to content

chore(build): drop deprecated kotlin("stdlib-common") from KMP modules#108

Merged
michalharakal merged 1 commit intodevelopfrom
chore/stdlib-common-cleanup
May 4, 2026
Merged

chore(build): drop deprecated kotlin("stdlib-common") from KMP modules#108
michalharakal merged 1 commit intodevelopfrom
chore/stdlib-common-cleanup

Conversation

@michalharakal
Copy link
Copy Markdown
Contributor

Summary

  • Removes api(kotlin("stdlib-common")) from llm-api, llm-core, and llm-performance commonMain.dependencies.
  • Kotlin 2.x unified kotlin-stdlib-common into kotlin-stdlib, and the kotlin-multiplatform plugin auto-adds the stdlib to commonMain, so the explicit declaration is deprecated and redundant.

Scope / non-claims

Test plan

  • ./gradlew :llm-api:compileCommonMainKotlinMetadata :llm-api:compileKotlinJvm :llm-api:compileKotlinJs --rerun-tasks --no-build-cache
  • Same for :llm-core and :llm-performance — all 9 tasks BUILD SUCCESSFUL, no Unresolved reference errors.
  • CI green on PR.

🤖 Generated with Claude Code

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>
@michalharakal michalharakal merged commit c37bc52 into develop May 4, 2026
2 checks passed
@michalharakal michalharakal deleted the chore/stdlib-common-cleanup branch May 4, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant