From f3fb927dc0e6b5728bfc6a79495cf01b4d606c65 Mon Sep 17 00:00:00 2001 From: h4h13 Date: Wed, 31 Jul 2019 10:52:09 +0530 Subject: [PATCH] Remove branch name --- app/build.gradle | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 510fe8dc8..f50e385c3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,24 +3,6 @@ apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' -static def gitBranch() { - def branch = 'GitHub' - try { - def gitcheck = 'command -v git >/dev/null 2>&1'.execute() - gitcheck.waitFor() - if (gitcheck.exitValue() == 0) { - def proc = 'git rev-parse --abbrev-ref HEAD'.execute() - proc.in.eachLine { line -> branch = line } - proc.err.eachLine { line -> println line } - proc.waitFor() - } - } catch (Exception e) { - // Do nothing - println e - } - branch -} - android { compileSdkVersion 28 defaultConfig { @@ -56,7 +38,7 @@ android { } debug { applicationIdSuffix '.debug' - versionNameSuffix ' DEBUG (' + gitBranch() + ')' + versionNameSuffix ' DEBUG' } } @@ -126,7 +108,7 @@ dependencies { implementation 'androidx.preference:preference:1.1.0-rc01' implementation 'androidx.palette:palette-ktx:1.0.0' - implementation 'com.google.android.material:material:1.1.0-alpha08' + implementation 'com.google.android.material:material:1.1.0-alpha09' implementation 'com.squareup.retrofit2:retrofit:2.6.0' implementation 'com.squareup.retrofit2:converter-gson:2.6.0'