Commit bfbafa9
fix: merge LanguageTool language-module.properties in shadow JAR
DuplicatesStrategy.INCLUDE caused multiple language-module.properties
entries in the shadow JAR. Java classloader picked only the last one
(Russian), so TypoDiagnostic failed with 'en-US is not a language code
known to LanguageTool'.
Add PropertiesFileTransformer with Append merge strategy to properly
combine all LanguageTool language classes into a single properties file.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b5963ff commit bfbafa9
File tree
2 files changed
+8
-15
lines changed- src/main/java/com/github/_1c_syntax/bsl/sonar
2 files changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
Lines changed: 2 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 185 | + | |
198 | 186 | | |
199 | 187 | | |
200 | 188 | | |
201 | 189 | | |
202 | | - | |
| 190 | + | |
203 | 191 | | |
204 | 192 | | |
205 | 193 | | |
| |||
0 commit comments