From: Gustavo Martin Morcuende Date: Sun, 22 Jan 2017 17:29:26 +0000 (+0100) Subject: Improving JAR manifest file X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=1726f9e380666b7740e818be85fe311ef2569764;p=JavaForFun Improving JAR manifest file --- diff --git a/SpringJava/Gradle/build.gradle b/SpringJava/Gradle/build.gradle index 3fbb125..8493ff3 100644 --- a/SpringJava/Gradle/build.gradle +++ b/SpringJava/Gradle/build.gradle @@ -101,7 +101,12 @@ subprojects { jar { manifest { - attributes 'Implementation-Title': 'Spring JPA Persistence, gradle example', 'Implementation-Version': version + attributes('Implementation-Title': 'Spring JPA Persistence, gradle example', + 'Implementation-Version': version, + 'Build-Time': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), + 'Built-By': System.getProperty('user.name'), + 'Built-JDK': System.getProperty('java.version') + ) } }