gradle fix

This commit is contained in:
Milos Kozak 2016-11-08 22:55:08 +01:00
parent a2d4f22bd7
commit bad7e5d7c4

View file

@ -27,7 +27,7 @@ def generateGitBuild = { ->
String commitObject = stdout.toString().trim() String commitObject = stdout.toString().trim()
stringBuilder.append(commitObject) stringBuilder.append(commitObject)
} catch (ignored) { } catch (ignored) {
return "NoGitSystemAvailable"; stringBuilder.append('NoGitSystemAvailable')
} }
stringBuilder.append('-') stringBuilder.append('-')
stringBuilder.append((new Date()).format('yyyy.MM.dd')) stringBuilder.append((new Date()).format('yyyy.MM.dd'))