diff --git a/build.gradle b/build.gradle index d47f38cd..dea2c30e 100644 --- a/build.gradle +++ b/build.gradle @@ -43,14 +43,8 @@ idea { } task versionFile() { - def stdout = new ByteArrayOutputStream() - exec { - commandLine 'git', 'rev-parse', '--short', 'HEAD' - standardOutput = stdout - } - def gitHash = stdout.toString().trim() - def version = getRootProject().version - new File("${projectDir}/common/src/main/resources", "version.txt").text = "v$version-git-$gitHash" + def version = "0.9.4a" + new File("${projectDir}/common/src/main/resources", "version.txt").text = "v$version" } // See: https://stackoverflow.com/questions/24936781/gradle-plugin-project-version-number