From 451171db528e8d8feff1b3fac7e3f04302b6f59f Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 27 Jun 2016 09:01:01 +0200 Subject: git commit in version string --- moaSig/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'moaSig') diff --git a/moaSig/build.gradle b/moaSig/build.gradle index 738ebbc..5858e7f 100644 --- a/moaSig/build.gradle +++ b/moaSig/build.gradle @@ -31,7 +31,7 @@ task wrapper(type: Wrapper) { } def getCheckedOutGitCommitHash() { - def gitFolder = "$projectDir/.git/" + def gitFolder = "$projectDir/../.git/" def takeFromHash = 40 def head = new File(gitFolder + "HEAD").text.split(":") def isCommit = head.length == 1 -- cgit v1.2.3