Skip to content
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

Upgrade to Kotlin 2.1.0 #475

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Upgrade to Kotlin 2.1.0 #475

wants to merge 1 commit into from

Conversation

dkhalanskyjb
Copy link
Collaborator

  • Avoid using deprecated API when grouping source sets together
  • Do not explicitly set metaInfo = true for NPM, it's the default
  • Upgrade the Yarn lock file

sourceSets {
groupSourceSets("linux", listOf("linuxX64", "linuxArm64", "linuxArm32Hfp"))
Copy link
Contributor

Choose a reason for hiding this comment

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

just in case: probably it could be easier to use KGP hierarchy API for this: example from kotlinx.atomicfu, example from ktor

Copy link
Collaborator Author

@dkhalanskyjb dkhalanskyjb Jan 23, 2025

Choose a reason for hiding this comment

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

Thanks! I didn't know about this functionality. Unfortunately, this PR can't use this to its full extent, as in this Kotlin version, wasmJs and wasmWasi were not in the hierarchy templates.
Opened a competing PR using this approach: #477

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I was wrong. After clearing all caches, wasmJs and wasmWasi are actually present.

* Avoid using deprecated API when grouping source sets together
* Do not explicitly set `metaInfo = true` for NPM, it's the default
* Upgrade the Yarn lock file
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.

2 participants