Commit e70ead3
authored
bugfix: Detect rules name instead of assuming a specific version (#8265)
Fixes #8242
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved Bazel Scala rule detection by scanning project config files
for rule identifiers instead of using version checks, yielding more
reliable rule selection across projects.
* Ensures Scala rule detection falls back to a default when no match is
found and preserves inclusion of Java/JVM rules for consistent build
behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 34e6251 commit e70ead3
File tree
1 file changed
+22
-6
lines changed- metals/src/main/scala/scala/meta/internal/builds
1 file changed
+22
-6
lines changedLines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
91 | 107 | | |
92 | 108 | | |
93 | 109 | | |
| |||
105 | 121 | | |
106 | 122 | | |
107 | 123 | | |
108 | | - | |
| 124 | + | |
109 | 125 | | |
110 | 126 | | |
111 | 127 | | |
| |||
0 commit comments