Skip to content

Failed to resolve kotlin-stdlib-js for Kotlin 2.0 #1176

@neckbosov

Description

@neckbosov

rules_kotlin version: 1.9.1
Bazel version: 5.4.1

I tried to update kotlin version to 2.0 in my project and got following error:

external/rules_kotlin/kotlin/compiler/BUILD.bazel:22:22: no such target '@com_github_jetbrains_kotlin//:lib/kotlin-stdlib-js.jar': target 'lib/kotlin-stdlib-js.jar' not declared in package ''

What can cause such an error? I tried to look at the rules_kotlin code but failed to understand where @com_github_jetbrains_kotlin came from. What can I do to solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions