mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 08:12: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