Added version plugin.
This commit is contained in:
parent
e77ccb2105
commit
b379fc2acc
5 changed files with 13 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue