Another thought: look at a shading plug-in, see if...
# kobalt
c
Another thought: look at a shading plug-in, see if they use any trick to transfer things between jars. Also look at the gradle fat jar implementation.