intellij idea: generate MANIFEST.MF in gradle project

Viewed 761

I have gradle project (spring boot app) imported in Intellij Idea. When building with gradle I generate MANIFEST.MF with

bootJar {
    manifest {
        attributes 'Implementation-Version': "${version}"
        attributes 'Implementation-Title': "${project.name}"
        attributes 'Manifest-Version': "1.0"
    }
}

however when running and building with Intellij manifest file is not generated (out/production/classes/META-INF) and in application getClass().getPackage().getImplementationVersion() is null

How can I generat manifest with Intellij?

0 Answers
Related