Add comment to gradle
This commit is contained in:
parent
a3bce7f7ca
commit
030e5ab894
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ android {
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
debuggable true
|
debuggable true
|
||||||
|
|
||||||
|
// suffix the app id and the app name with git branch name
|
||||||
def workingBranch = "git rev-parse --abbrev-ref HEAD".execute().text.trim()
|
def workingBranch = "git rev-parse --abbrev-ref HEAD".execute().text.trim()
|
||||||
if (workingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
|
if (workingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
|
|
Loading…
Reference in a new issue