Loading app/build.gradle +6 −7 Original line number Diff line number Diff line Loading @@ -14,13 +14,12 @@ def versionMajor = 2 def versionMinor = 13 def versionPatch = 11 def getGitHash = { -> def stdOut = new ByteArrayOutputStream() exec { def getGitHashProvider = providers.exec { commandLine 'git', 'log', '--pretty=format:%h', '-n', '1' standardOutput = stdOut } return stdOut.toString().trim() def getGitHash = { return getGitHashProvider.standardOutput.asText.get().trim() } def getDate = { -> Loading Loading
app/build.gradle +6 −7 Original line number Diff line number Diff line Loading @@ -14,13 +14,12 @@ def versionMajor = 2 def versionMinor = 13 def versionPatch = 11 def getGitHash = { -> def stdOut = new ByteArrayOutputStream() exec { def getGitHashProvider = providers.exec { commandLine 'git', 'log', '--pretty=format:%h', '-n', '1' standardOutput = stdOut } return stdOut.toString().trim() def getGitHash = { return getGitHashProvider.standardOutput.asText.get().trim() } def getDate = { -> Loading