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

Support Class-Path in jar manifest #624

Closed
lilyevsky opened this issue Jun 5, 2019 · 1 comment
Closed

Support Class-Path in jar manifest #624

lilyevsky opened this issue Jun 5, 2019 · 1 comment

Comments

@lilyevsky
Copy link

Currently the jar task does not support the Class-Path attribute.

This attribute is one of the general main jar attributes, see https://docs.oracle.com/javase/8/docs/technotes/guides/jar/jar.html#Main_Attributes .

The Class-Path is very important for standalone apps that are deployed as a collection of jar files, the main jar and dependent libraries (not as uber-jar).

@lefou
Copy link
Member

lefou commented Nov 2, 2019

You can overwrite the def manifest: T[JarManifest] target and append any manifest entry you want, including Class-Path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants