Added version plugin.

This commit is contained in:
Erik C. Thauvin 2015-04-15 12:44:59 -07:00
parent e77ccb2105
commit b379fc2acc
5 changed files with 13 additions and 2 deletions

View file

@ -1,4 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'versionPlugin'
android {
compileSdkVersion 22
@ -11,6 +12,7 @@ android {
versionCode 2
versionName "1.1b10"
}
buildTypes {
release {
minifyEnabled true
@ -23,6 +25,13 @@ android {
exclude 'META-INF/NOTICE'
exclude 'META-INF/ASL2.0'
}
versionPlugin {
buildTypesMatcher = 'release'
supportBuildNumber = false
fileNameFormat = '$projectName'
}
}
dependencies {