revert diagnostic changes

This commit is contained in:
Eric House 2018-12-17 12:57:17 -08:00
parent acf86a2291
commit 285f6ad34a

View file

@ -10,14 +10,11 @@ boolean forFDroid = hasProperty('forFDroid')
// Get the git revision we're using. Since fdroid modifies files as
// part of its build process -dirty will always be added, confusing
// users. So add that for the non-fdroid case.
def GITCMD = "git rev-parse HEAD"
// if (! forFDroid) {
// GITCMD += " --dirty"
// }
print "GITCMD: ${GITCMD}\n"
def GITREV = GITCMD.execute().text.trim()
print "GITREV: ${GITREV}\n"
def GITREV = "git describe --tags"
if (! forFDroid) {
GITREV += " --dirty"
}
GITREV = GITREV.execute().text.trim()
apply plugin: 'com.android.application'