mirror of https://github.com/zlatinb/muwire
13 lines
635 B
Groovy
13 lines
635 B
Groovy
|
|
jar {
|
|
manifest {
|
|
attributes(
|
|
'Built-By' : System.properties['user.name'],
|
|
'Build-Timestamp': new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
|
|
'Build-Revision' : versioning.info.commit,
|
|
'Created-By' : "Gradle ${gradle.gradleVersion}",
|
|
'Build-Jdk' : "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
|
|
'Build-OS' : "${System.properties['os.name']} ${System.properties['os.arch']} ${System.properties['os.version']}"
|
|
)
|
|
}
|
|
} |