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
Bzlmod: kotlin compiler is unconditionally downloaded #1106
Labels
Comments
Oh, probably it was caused by
You should probably generate the rules_kotlin/src/main/starlark/core/repositories/compiler.bzl Lines 19 to 22 in 540893a
|
meteorcloudy
added a commit
to meteorcloudy/bazel
that referenced
this issue
Jan 30, 2024
@Bencodes Do you have time to take a look at this? |
@meteorcloudy I believe @restingbull is looking into this one for you. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproducible case
https://github.com/meteorcloudy/my_tests/tree/master/rules_kotlin_test
Check the external repo directoires:
The kotlin compiler is downloaded through
com_github_jetbrains_kotlin
even though building//:bin
doesn't require it.Cause
rules_kotlin/MODULE.bazel
Line 24 in 540893a
the default toolchain target depends directly on the kotlin compiler repo. This can be work around by defining the target in a config repo, which should avoid fetching the actual compiler.
The text was updated successfully, but these errors were encountered: