Add Implementation-Version entry to MANIFEST.MF

e.g.:

    Implementation-Title: spring-core
    Implementation-Version: 3.2.0.BUILD-SNAPSHOT

Setting these values is good as a general practice, but required in
order to support the functionality in spring-core's SpringVersion class.
This commit is contained in:
Chris Beams
2012-01-25 19:01:45 +01:00
parent 6235a341a7
commit 77d8e81744

View File

@@ -48,6 +48,9 @@ configure(subprojects) { subproject ->
apply from: "${rootProject.projectDir}/publish-maven.gradle"
jar {
manifest.attributes['Implementation-Title'] = subproject.name
manifest.attributes['Implementation-Version'] = subproject.version
from("${rootProject.projectDir}/src/dist") {
include "license.txt"
include "notice.txt"