Open
Description
Currently, JVM's Jar task responsible for generating executable benchmarks jar generates a brand new manifest that includes only a main-class attribute.
Depending on shaded libraries, that might be an issue. For example, if one of the libraries bundled into a resulting jar was a MR-JAR, the resulting manifest will be missing multi-release: true
attribute and target-specific code will never be invoked (and that's a problem if you're actually trying to benchmark MR-related functionality ;) ).
It would be nice to merge manifests when generating a jar, like Maven Shade's AppendingTransformer
does.