We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using latest version of Shadow Jar, But having an issue where 'Class-Path' is empty even though the main jar file has the correct class path.
Any thoughts on why it would happen ?
jar { manifest { attributes('Implementation-Title': 'Gradle', 'Implementation-Version': version, 'Built-By': System.getProperty('user.name'), 'Built-Date': new Date(), 'Built-JDK': System.getProperty('java.version'), 'Class-Path': configurations.runtime.files.collect { it.name }.join(' ')) } }
The text was updated successfully, but these errors were encountered:
Yeah, it's probably getting overwritten by something in the ShadowJarPlugin for integration with the applications plugin.
Why do you need 'Class-Path' in the ShadowJar manifest? It doesn't really make sense since that is supposed to reference other jars.
Sorry, something went wrong.
d046d66
Thank you very much! Let me Try this out!
It's not published yet as a version. But you can check out the source and compile it yourself.
No branches or pull requests
I am using latest version of Shadow Jar, But having an issue where 'Class-Path' is empty even though the main jar file has the correct class path.
Any thoughts on why it would happen ?
The text was updated successfully, but these errors were encountered: