Commit 30e7640
Strategy/Scala: refactor detectDependencyPlugins to find-based lookup
Replace the nested if-then-else with a `find` over a precedence-ordered
lookup table. Behavior is identical: `find` returns the first match so
ModernDependencyTreePlugin still wins over Legacy, and the shared
": enabled in" suffix keeps the three effective marker strings unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6cda958 commit 30e7640
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
| 86 | + | |
| 87 | + | |
93 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
0 commit comments