Commit 79397ebd authored by Donald's avatar Donald

try android git version

parent 07aab903
buildscript {
/*buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta1'
}
}
}*/
/*plugins {
id "com.gladed.androidgitversion" version "0.2.2"
}*/
apply plugin: 'com.android.application'
......@@ -24,8 +30,8 @@ android {
applicationId "org.horaapps.leafpic"
minSdkVersion 19
targetSdkVersion 24
versionCode 11
versionName "v0.5.4"
versionName androidGitVersion.name()
versionCode androidGitVersion.code()
}
lintOptions {
......
......@@ -3,15 +3,18 @@
buildscript {
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta1'
classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.2.2"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
apply plugin: "com.gladed.androidgitversion"
allprojects {
repositories {
jcenter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment