Skip to content

Conversation

abdulowork
Copy link
Contributor

The "-js" dependencies are an unconventional way to specify dependencies, and these dependencies are problematic for testing lenient KMP resolution, which we are doing in KT-77297.

To make sure there is no impact, I published coroutines before and after these changes. Here is the diff. Now KMP Gradle JS consumers will see atomicfu component instead of atomicfu-js (which is the convention in KMP resolution), and there used to be some duplication in POM dependencies, which is now gone.

The "-js" dependencies are an uncoventional way to specify dependencies
and these dependencies are problematic for testing lenient KMP
resolution.
@abdulowork
Copy link
Contributor Author

I decided to revert depends the ordering fix to not introduce an unnecessary workaround. Now there will also be a diff in klibs due to depends ordering

@murfel
Copy link
Contributor

murfel commented Oct 2, 2025

@murfel murfel requested a review from dkhalanskyjb October 2, 2025 12:57
Copy link
Collaborator

@dkhalanskyjb dkhalanskyjb left a comment

Choose a reason for hiding this comment

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

Please target the develop branch. master is for the latest release.

jsTest {
dependencies {
implementation(kotlin("test-js"))
implementation(kotlin("test"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a reason not to have a single kotlin("test") dependency in commonMain, like is done in the other build scripts in this PR?

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