Commit 2e41ef2
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 2e41ef2
1 file changed
+6
-1
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 | | |
0 commit comments