Record some more useful attributes in manifest

This commit is contained in:
Florian Schmaus 2014-06-22 18:18:04 +02:00
parent 609c225865
commit 73c64dc06a
1 changed files with 6 additions and 1 deletions

View File

@ -36,7 +36,12 @@ allprojects {
// first occurence of an dash with a dot.
// For example 4.0.0-rc1 becomes 4.0.0.rc1, but
// 4.0.0-SNAPSHOT-2014-05-01 becomes 4.0.0.SNAPSHOT-2014-05-01
'Bundle-Version': version.replaceFirst("-", "."))
'Bundle-Version': version.replaceFirst("-", "."),
'Built-Date': new Date(),
'Built-JDK': System.getProperty('java.version'),
'Built-Gradle': gradle.gradleVersion,
'Built-By': System.getProperty('user.name')
)
}
eclipse {