diff --git a/android/app/build.gradle b/android/app/build.gradle index 4ec0ec62bc..75397bbc0f 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -111,12 +111,8 @@ def getVersionName = { -> if (project.hasProperty("releaseVersion")) { return project.releaseVersion } - - exec { - commandLine "git", "describe", "--tags", "--always", "--dirty=+" - standardOutput = stdOut - } - return stdOut.toString().replaceAll("\\s","") + version = new File('../../VERSION').text + return version.replaceAll("\\s","") } }