Open iocmet opened 1 year ago
Same here Need a way to disable meta-inf class-path generation
Still not found way to do this
Still not found way to do this
There is a workaround to use compileOnly instead of shadow when declaring dependencies, which works for this case but is not semantically correct.
Here
shadow.doFirst {
if (!files.empty) {
def libs = libsProvider.get()
libs.addAll files.collect { "${it.name}" }
manifest.attributes 'Class-Path': libs.findAll { it }.join(' ')
}
}
shadow sets 'Class-Path' attribute but i not need it and gradle not provides way to remove manifest attribute