mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Remove gradle git plugin
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user