Skip to content

Add Additional Targets to kermit-ktor#477

Merged
samhill303 merged 3 commits into
touchlab:mainfrom
solcott:main
Apr 21, 2026
Merged

Add Additional Targets to kermit-ktor#477
samhill303 merged 3 commits into
touchlab:mainfrom
solcott:main

Conversation

@solcott
Copy link
Copy Markdown
Contributor

@solcott solcott commented Apr 1, 2026

Add additional targets to kermit-ktor to match targets of other modules. Also replaced usages of deprecated publishAllLibraryVariants() with publishLibraryVariants() inside androidTarget.

Fixes #474

solcott added 2 commits March 31, 2026 17:36
* Add `jvm`, `mingwX64`, `linuxX64`, `linuxArm64`, and `androidNative` targets to the build configuration
* Move the existing API tracking file to an Android-specific directory
* Add a new API tracking file for the JVM target
…riants`

* Update `androidTarget` configuration in `build.gradle.kts` files across all modules to use `publishLibraryVariants()` instead of `publishAllLibraryVariants()`.
kotlin {
androidTarget {
publishAllLibraryVariants()
publishLibraryVariants()
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
publishLibraryVariants()
publishLibraryVariants("release")

Without an argument, it doesn't publish any variants (the kermit-ktor usage was already incorrect too)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the feedback. I just pushed an update that fixes this.

@samhill303 samhill303 merged commit 0628fbd into touchlab:main Apr 21, 2026
2 checks passed
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.

Kermit-ktor missing jvm target

2 participants