1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Add gitCommit to version resource

This commit is contained in:
Florian Schmaus 2014-07-28 23:35:56 +02:00
parent 34b195397f
commit 5a2149718a

View file

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