Skip to content

Commit

Permalink
update version code and name
Browse files Browse the repository at this point in the history
  • Loading branch information
bdiegel committed May 10, 2015
1 parent 16e3293 commit e07f048
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
apply plugin: 'com.android.application'

def versionMajor = 0
def versionMinor = 9
def versionPatch = 0
def versionBuild = 0

android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
Expand All @@ -8,8 +13,8 @@ android {
applicationId "com.honu.giftwise"
minSdkVersion 11
targetSdkVersion 21
versionCode 1
versionName "1.0"
versionCode versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
}
buildTypes {
release {
Expand Down

0 comments on commit e07f048

Please sign in to comment.