Create single jar for a project with Bouncy Castle dependencies that can run on Oracle JRE
I’m making a project that has dependencies (also made by me) that themselves depend on Bouncy Castle, which includes signature files for its jar, and if these are present in the shaded jar, the JVM sees the jar is not valid for those signatures and refuses to run it: