diff --git a/app/build.gradle b/app/build.gradle index 4d5a00168..496bafba6 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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 diff --git a/build.gradle b/build.gradle index 0d257be9c..e5b963d76 100644 --- a/build.gradle +++ b/build.gradle @@ -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