Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shadowJar manifest attributes appear in wrong jar #82

Closed
Chimaine opened this issue Aug 9, 2014 · 0 comments
Closed

shadowJar manifest attributes appear in wrong jar #82

Chimaine opened this issue Aug 9, 2014 · 0 comments
Labels
Milestone

Comments

@Chimaine
Copy link

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 modified the milestones: 1.0.4, 1.1.0 Aug 25, 2014
agascon pushed a commit to agascon/shadow that referenced this issue Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants