@@ -150,6 +150,60 @@ com.fasterxml.jackson.core.*;version=${project.version}
150
150
<artifactId >gradle-module-metadata-maven-plugin</artifactId >
151
151
</plugin >
152
152
153
+ <plugin >
154
+ <groupId >org.apache.maven.plugins</groupId >
155
+ <artifactId >maven-shade-plugin</artifactId >
156
+ <configuration >
157
+ <promoteTransitiveDependencies >true</promoteTransitiveDependencies >
158
+ <createDependencyReducedPom >true</createDependencyReducedPom >
159
+ </configuration >
160
+ <executions >
161
+ <execution >
162
+ <id >shade-jackson-core</id >
163
+ <phase >package</phase >
164
+ <goals >
165
+ <goal >shade</goal >
166
+ </goals >
167
+ <configuration >
168
+ <artifactSet >
169
+ <includes >
170
+ <include >ch.randelshofer:fastdoubleparser</include >
171
+ </includes >
172
+ </artifactSet >
173
+ <relocations >
174
+ <relocation >
175
+ <pattern >ch/randelshofer/fastdoubleparser</pattern >
176
+ <shadedPattern >com/fasterxml/jackson/core/io/doubleparser</shadedPattern >
177
+ </relocation >
178
+ <relocation >
179
+ <pattern >META-INF/versions/11/ch/randelshofer/fastdoubleparser</pattern >
180
+ <shadedPattern >META-INF/versions/11/com/fasterxml/jackson/core/io/doubleparser</shadedPattern >
181
+ </relocation >
182
+ <relocation >
183
+ <pattern >META-INF/versions/17/ch/randelshofer/fastdoubleparser</pattern >
184
+ <shadedPattern >META-INF/versions/17/com/fasterxml/jackson/core/io/doubleparser</shadedPattern >
185
+ </relocation >
186
+ <relocation >
187
+ <pattern >META-INF/versions/19/ch/randelshofer/fastdoubleparser</pattern >
188
+ <shadedPattern >META-INF/versions/19/com/fasterxml/jackson/core/io/doubleparser</shadedPattern >
189
+ </relocation >
190
+ </relocations >
191
+ </configuration >
192
+ </execution >
193
+ </executions >
194
+ </plugin >
195
+ <plugin >
196
+ <groupId >org.apache.maven.plugins</groupId >
197
+ <artifactId >maven-jar-plugin</artifactId >
198
+ <configuration >
199
+ <archive >
200
+ <manifestEntries >
201
+ <Multi-Release >true</Multi-Release >
202
+ </manifestEntries >
203
+ </archive >
204
+ </configuration >
205
+ </plugin >
206
+
153
207
<!-- 16-Nov-2022, tatu: [core#838] add verification of compatibility
154
208
wrt Android SDK versions using AnimalSniffer with "gummy bears" signatures.
155
209
To be run from CI, but manually with:
@@ -167,10 +221,16 @@ com.fasterxml.jackson.core.*;version=${project.version}
167
221
</signature >
168
222
</configuration >
169
223
</plugin >
224
+
170
225
</plugins >
171
226
</build >
172
227
173
228
<dependencies >
229
+ <dependency >
230
+ <groupId >ch.randelshofer</groupId >
231
+ <artifactId >fastdoubleparser</artifactId >
232
+ <version >0.5.2</version >
233
+ </dependency >
174
234
<!-- Test dependencies -->
175
235
<dependency >
176
236
<groupId >org.junit.vintage</groupId >
0 commit comments