Add comment to gradle

This commit is contained in:
Stypox 2020-02-23 20:56:56 +01:00
parent a3bce7f7ca
commit 030e5ab894
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ android {
multiDexEnabled 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()
if (workingBranch.isEmpty() || workingBranch == "master" || workingBranch == "dev") {
applicationIdSuffix ".debug"