-
-
Notifications
You must be signed in to change notification settings - Fork 18
feat(maven): add new config to process klib distributions differently from root and apple #612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
kmp: | ||
rootDistDirRegex: /sentry-kotlin-multiplatform-[0-9]+.*$/ | ||
appleDistDirRegex: /sentry-kotlin-multiplatform-(macos|ios|tvos|watchos).*/ | ||
klibDistDirRegex: /sentry-kotlin-multiplatform-(js|wasm-js).*/ |
There was a problem hiding this comment.
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
There was a problem hiding this 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
@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. |
👍 , no changes here that alter craft behaviours, only adding support for publishing new targets on maven with KMP I'll merge this then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
… from root and apple (#612) * Add support for single klib * Update tests * Update README * Revert README * Update README.md
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 implementationAll 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.