Bazel transition is not applied when building code in intellij #7165
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
lang: java
Java rules integration
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
I have a transition that disables java header compilation in libraries with lombok, because Turbine doesn't support lombok: bazelbuild/bazel#12837.
Transition does not work, when I do sync in ide, build always fails. In terminal everything is fine.
Expected ide sync to complete successfully like in terminal.
Which category does this issue belong to?
No response
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Repo with example
When I build example folder (bazel build //example/...) in terminal, I am getting 'Build completed successfull'.
When I do partial sync of example folder in intellij idea, I get error:
Which Intellij IDE are you using? Please provide the specific version.
IntelliJ IDEA 2024.3 (Community Edition) Build #IC-243.21565.193, built on November 13, 2024
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
2024.11.19.0.3-api-version-243
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: