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

[Bug]: Why is there no compatibility_level (defaults to 0) for rules_kotlin@1.9.4? #1798

Closed
luangong opened this issue Apr 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@luangong
Copy link

luangong commented Apr 10, 2024

What happened?

The compatibility_level attribute of rules_kotlin@1.9.4 is missing, causing issues with other modules that depend on it. For example, rules_jvm_external@6.0 depends on rules_kotlin@1.9.0, and when I update it to 1.9.4, an error message is shown:

ERROR: Error computing the main repository mapping: rules_jvm_external@6.0
depends on rules_kotlin@1.9.0 with compatibility level 1, but <root> depends
on rules_kotlin@1.9.4 with compatibility level 0 which is different.

Version

  • Development (host) and target OS/architectures: macOS Sonoma 14.4.1 on an Apple silicon Mac
  • Output of bazel --version: bazel 7.1.1
  • Version of relevant rules from the WORKSPACE or MODULE.bazel file: rules_jvm_external@6.0, rules_kotlin@1.9.4
  • Language(s) and/or frameworks involved: Kotlin
@luangong luangong added the bug Something isn't working label Apr 10, 2024
@fmeum
Copy link
Contributor

fmeum commented Apr 10, 2024

Cc @Bencodes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants