Skip to content

3.6.0 reports all JS dependencies as unused in KMP project with JS target #1672

@Vampire

Description

@Vampire

Plugin version
3.6.0 / 3.6.1

Gradle version
9.4.1

JDK version
25

(Optional) Kotlin and Kotlin Gradle Plugin (KGP) version
2.1.20

Describe the bug
I wanted to update DAGP from 3.5.1 to 3.6.1 but then got a complaint about unused dependencies for all my JS-target dependencies.

Expected behavior
Not failing.
If JS target is not supported, it should be ignored.
If it is supported, it should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions