aboutsummaryrefslogtreecommitdiff
path: root/about
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2018-01-20 21:58:59 -0500
committerGitHub <noreply@github.com>2018-01-20 21:58:59 -0500
commit097d2e0a393294bb239a2455a9a75a405a220fad (patch)
treea736d7ff07bad86724dbad846d51e3ad867a22c2 /about
parent87aba7cff2e01cc71a2e319ccc96cc1e159bdcd3 (diff)
downloadkau-097d2e0a393294bb239a2455a9a75a405a220fad.tar.gz
kau-097d2e0a393294bb239a2455a9a75a405a220fad.tar.bz2
kau-097d2e0a393294bb239a2455a9a75a405a220fad.zip
Add back git tag versioning (#129)
Diffstat (limited to 'about')
-rw-r--r--about/build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/about/build.gradle b/about/build.gradle
index 4794178..af87f1e 100644
--- a/about/build.gradle
+++ b/about/build.gradle
@@ -1,8 +1,11 @@
+plugins {
+ id 'com.gladed.androidgitversion' version '0.4.3'
+}
apply from: '../android-lib.gradle'
android {
defaultConfig {
- resValue "string", "kau_version_code", project.VERSION_NAME
+ resValue "string", "kau_version_code", androidGitVersion.name()
}
}