How does gradle shadow plugin deal with OSGi structures?

183 Views Asked by At

I'm using the shadow plugin in gradle build process to package an uber jar for my executable. However, this involves datanucleus which is OSGi structured. When I use shadowJar task in gradle, the plugin.xml is lost. Does the gradle shadow plugin has a way to deal with this type of dependencies? I have been searching around but haven't found anything useful other than manually merging things or moving away from shadow plugin.

0

There are 0 best solutions below