1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-25 15:52:06 +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')
} }