1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-10-31 17:25:58 +01:00

Record built date in version

This commit is contained in:
Florian Schmaus 2014-08-08 15:09:08 +02:00
parent 3bbe9bef71
commit 0ed68cc18f

View file

@ -68,7 +68,7 @@ class CreateFileTask extends DefaultTask {
} }
task createVersionResource(type: CreateFileTask) { task createVersionResource(type: CreateFileTask) {
fileContent = version + ' (' + gitCommit + ')' fileContent = version + ' (' + gitCommit + ' ' + builtDate + ')'
outputFile = new File(projectDir, 'src/main/resources/org.jivesoftware.smack/version') outputFile = new File(projectDir, 'src/main/resources/org.jivesoftware.smack/version')
} }