Browse Source

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.
pull/22/head
Chris Beams 13 years ago
parent
commit
77d8e81744
  1. 3
      build.gradle

3
build.gradle

@ -48,6 +48,9 @@ configure(subprojects) { subproject -> @@ -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"

Loading…
Cancel
Save