From 93bb105dacad0906252ea647cdfacb20c7825eb1 Mon Sep 17 00:00:00 2001 From: Alinson Xavier Date: Wed, 1 Jan 2020 08:45:05 -0600 Subject: [PATCH] Remove gradle git plugin --- android/uhabits-android/build.gradle | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/android/uhabits-android/build.gradle b/android/uhabits-android/build.gradle index 4c305d56b..361ca8190 100644 --- a/android/uhabits-android/build.gradle +++ b/android/uhabits-android/build.gradle @@ -2,13 +2,6 @@ apply plugin: 'idea' apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply plugin: 'kotlin-kapt' -import org.ajoberstar.grgit.Grgit - -ext { - git = Grgit.open(currentDir: projectDir) - GIT_COMMIT = git.head().id.substring(0, 8) - GIT_BRANCH = git.branch.current.name -} android { compileSdkVersion COMPILE_SDK_VERSION as Integer @@ -27,7 +20,7 @@ android { defaultConfig { versionCode VERSION_CODE as Integer - versionName "$VERSION_NAME ($GIT_BRANCH $GIT_COMMIT)" + versionName "$VERSION_NAME" minSdkVersion MIN_SDK_VERSION as Integer targetSdkVersion TARGET_SDK_VERSION as Integer