Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prioritzie scala and kt providers before JavaInfo (bazelbuild/intelli…
…j PR import #1202) While `scala_library` / other Scala rules have `JavaInfo` as well, their Scala-specific data lives in the `scala` provider. Proritizing `JavaInfo` over `scala` causes the plugin to assume that there are no outputs, hence causing all Scala workspaces to fail to resolve ("No Scala SDK added") #1183 Instead, prioritize `kt` and `scala` providers over `JavaInfo`. This wasn't an issue previously because we c[hecked for the legacy "java" provider first](5f03bde), which Scala targets do not have, and the conditional successfully fell through. This fixes #1183. Closes #1202 PiperOrigin-RevId: 271236868
- Loading branch information