-
Notifications
You must be signed in to change notification settings - Fork 213
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
Failed to resolve kotlin-stdlib-js for Kotlin 2.0 #1176
Comments
I am running into something similar. AFAICT, |
Looks related to #808 |
We are considering removing js support for 2.0 -- until such time as we have proper kotlin native support. |
@restingbull we're hitting this issue in Dagger when trying to update to Kotlin 2.0.21 (we are not using js). Is there any way to get Kotlin 2 working with rules_kotlin Is it expected to be fixed in rules_kotlin |
This CL: * Updates KSP to 2.0.21-1.0.28 * Updates kotlin-metadata-jvm to 2.0.21 * Note: due to bazelbuild/rules_kotlin#1176 we can't actually update Kotlin itself to 2.0.21, but somehow that doesn't seem to cause an issue * Migrates kotlin-metadata-jvm usages to the new API (the pre-2.0.0 APIs are deprecated). * Updates XProcessing and XProcessing Testing jars * Adds flags to fall back to Kotlin 1.9 for compiler tests (Working on getting these tests working with K2/KSP2 is in progress). * Updated all of our artifact tests to use the same Kotlin and KSP versions. * Added `compat_kt_jvm_library` to alias output jars to the expected locations. Fixes #4525 RELNOTES=Fixes #4525: Update kotlin-jvm-metadata to 2.0.21 to remove dependency on Beta version. PiperOrigin-RevId: 702486745
This CL: * Updates KSP to 2.0.21-1.0.28 * Updates kotlin-metadata-jvm to 2.0.21 * Note: due to bazelbuild/rules_kotlin#1176 we can't actually update Kotlin itself to 2.0.21, but somehow that doesn't seem to cause an issue * Migrates kotlin-metadata-jvm usages to the new API (the pre-2.0.0 APIs are deprecated). * Updates XProcessing and XProcessing Testing jars * Adds flags to fall back to Kotlin 1.9 for compiler tests (Working on getting these tests working with K2/KSP2 is in progress). * Updated all of our artifact tests to use the same Kotlin and KSP versions. * Added `compat_kt_jvm_library` to alias output jars to the expected locations. Fixes #4525 RELNOTES=Fixes #4525: Update kotlin-jvm-metadata to 2.0.21 to remove dependency on Beta version. PiperOrigin-RevId: 703516835
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:
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?The text was updated successfully, but these errors were encountered: