-
-
Notifications
You must be signed in to change notification settings - Fork 423
ShadowJar manifest does not contain Class-Path #65
Copy link
Copy link
Closed
Labels
Milestone
Description
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(' '))
}
}
Reactions are currently unavailable