shadowJar manifest attributes appear in wrong jar #82

Chimaine opened this Issue Aug 9, 2014 · 0 comments


None yet
2 participants

Chimaine commented Aug 9, 2014

When defining attributes in the shadowJar.manifest closure they get written to the jar produced by the normal jar task, even if the shadowJar task is not run or even excluded.

When executing both jar tasks, the shadowJar artifact manifest is empty (besides the version), regardless of the manifest settings in both tasks.

appendManifest appends attributes also to the normal jar manifest, but produces the correct output in the shadowJar manifest.

@johnrengelman johnrengelman added the bug label Aug 25, 2014

@johnrengelman johnrengelman modified the milestones: 1.0.4, 1.1.0 Aug 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment