Skip to content

Commit

Permalink
use global versionCode and versionName
Browse files Browse the repository at this point in the history
  • Loading branch information
wangbin19860909 committed Feb 15, 2016
1 parent 7d9c0ff commit 6637a8b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 11 deletions.
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# org.gradle.parallel=true

VERSION_NAME=0.1.3
VERSION_CODE=4
4 changes: 2 additions & 2 deletions kbinding-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 3
versionName "0.1.2"
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions kbinding-recyclerview-v7/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 3
versionName "0.1.2"
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions kbinding-support-v4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 3
versionName "0.1.2"
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions kbinding/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 23
versionCode 3
versionName "0.1.2"
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ android {
applicationId "com.benny.app.sample"
minSdkVersion 14
targetSdkVersion 23
versionCode 3
versionName "0.1.2"
versionCode project.VERSION_CODE.toInteger()
versionName project.VERSION_NAME
}

signingConfigs {
Expand Down

0 comments on commit 6637a8b

Please sign in to comment.