From 77d8e81744fa9bfed84c3ef8e94c9798f86ce887 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Wed, 25 Jan 2012 19:01:45 +0100 Subject: [PATCH] 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. --- build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.gradle b/build.gradle index 1b9cce6556..973f38232d 100644 --- a/build.gradle +++ b/build.gradle @@ -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"