Skip to content

Commit 9468e2c

Browse files
committed
git version plugin
1 parent 7a35c93 commit 9468e2c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

project/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
apply plugin: 'com.android.application'
22

3+
plugins {
4+
id 'com.gladed.androidgitversion' version '0.3.4'
5+
}
6+
37
android {
48
compileSdkVersion 19
5-
buildToolsVersion '25.0.0'
9+
buildToolsVersion '25.0.1'
610

711
defaultConfig {
12+
versionName androidGitVersion.name()
13+
versionCode androidGitVersion.code()
814
ndk {
915
abiFilters 'x86', 'armeabi', 'armeabi-v7a'
1016
}

0 commit comments

Comments
 (0)