Don't overwrite local settings when java_language_level is not set in bazelproject file #6970
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
P3
We're not considering working on this, but happy to review a PR. (No assignee)
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
Background
Bazel Plugin always overwrites the local java language version settings and kotlin jvm target level version based on the java_language_level defined in the bazelproject file. However, when
java_language_level
doesn't get specified in bazelproject file, bazel project sync will use the default 1.8 java version instead.This is problematic because developers lose the ability to customize the java language and jvm target levels inside their IDE.
Expected behavior
Do not overwrite the current java language level and kotlin jvm target level when
java_language_level
is not defined inside bazelproject fileWhich category does this issue belong to?
Intellij
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
java_language_level
in bazelproject fileWhich Intellij IDE are you using? Please provide the specific version.
No response
What programming languages and tools are you using? Please provide specific versions.
No response
What Bazel plugin version are you using?
No response
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: