mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 12:02:05 +01:00
Add gitCommit to version resource
This commit is contained in:
parent
34b195397f
commit
5a2149718a
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue