Skip to content

Conversation

buenaflor
Copy link
Contributor

For KMP we are going to publish new targets: js, wasm-js, linux, mingw and all the artifacts to publish are currently not compatible with the KMP implementation in craft -> they would be processed incorrectly with the current implementation

All these distributions have the same structure so we can add a new config that targets these. They all contain 5 files: 1 -source.jar, 1 -javadoc.jar, 1 .klib, 1 .module and 1 pom file.

@buenaflor buenaflor requested a review from romtsn July 21, 2025 14:38
kmp:
rootDistDirRegex: /sentry-kotlin-multiplatform-[0-9]+.*$/
appleDistDirRegex: /sentry-kotlin-multiplatform-(macos|ios|tvos|watchos).*/
klibDistDirRegex: /sentry-kotlin-multiplatform-(js|wasm-js).*/
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm also open for another name for this config

@romtsn romtsn requested a review from BYK July 21, 2025 15:14
Copy link
Member

@romtsn romtsn left a comment

Choose a reason for hiding this comment

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

LGTM, but maybe @BYK could have a look too

@BYK
Copy link
Member

BYK commented Jul 21, 2025

@romtsn I don't really have an opinion here unless it changes a fundamental Craft principle like not publishing the same version twice etc. I don't have an opinion specifically about Maven.

@buenaflor
Copy link
Contributor Author

👍 , no changes here that alter craft behaviours, only adding support for publishing new targets on maven with KMP

I'll merge this then

Copy link
Contributor

@asottile-sentry asottile-sentry left a comment

Choose a reason for hiding this comment

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

@buenaflor buenaflor merged commit cb6521f into master Jul 22, 2025
13 checks passed
@buenaflor buenaflor deleted the feat/kmp/additional-dist-dir branch July 22, 2025 08:19
BYK pushed a commit that referenced this pull request Oct 1, 2025
… from root and apple (#612)

* Add support for single klib

* Update tests

* Update README

* Revert README

* Update README.md
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.

4 participants