Use GrabVer versioning

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-10-24 00:00:43 +02:00
parent 6d6580afb3
commit cabd38d75d
2 changed files with 13 additions and 1 deletions

View file

@ -1,4 +1,14 @@
apply plugin: 'com.android.application'
apply plugin: 'eu.davidea.grabver'
versioning {
major 0
minor 1
//preRelease "rc1"
}
// For maven repository
version = versioning.name
android {
compileSdkVersion 26

View file

@ -5,9 +5,11 @@ buildscript {
repositories {
google()
jcenter()
maven { url "http://dl.bintray.com/davideas/maven" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-rc1'
classpath 'com.android.tools.build:gradle:3.0.0-rc2'
classpath 'eu.davidea:grabver:0.6.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files