I struggled with with the jar MANIFEST file built with Gradle containing an empty Class-Path
. I traced down the problem to the order of the dependencies
and jar
blocks in the build.gradle
file:
Wrong (jar
before dependencies
):
jar {
manifest.attributes(