-
-
Notifications
You must be signed in to change notification settings - Fork 424
Provide automatic inclusion of Multi-Release in MANIFEST.MF #449
Copy link
Copy link
Closed
Labels
Description
Shadow Version
4.0.3
Expected Behavior
If any dependencies included have the Multi-Release flag set to true in MANIFEST.MF, the shadow jar should include this entry.
Actual Behavior
Currently a manual process. Requires knowledge of all dependencies and manually adding required entry to MANIFEST.MF.
Background
Current versions of Java allow for multi-release jars to be created. However, in order for it to work, Multi-Release: true needs to be present in the manifest. One popular example of a multi-release jar is the Log4J API (org.apache.logging.log4j:log4j-api). See this stack overflow question for more details. It would be nice if the shadow plugin would automate this process.
Reactions are currently unavailable