diff --git a/gradle.properties b/gradle.properties index 1d3591c..4ae50e7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file +# org.gradle.parallel=true + +VERSION_NAME=0.1.3 +VERSION_CODE=4 \ No newline at end of file diff --git a/kbinding-common/build.gradle b/kbinding-common/build.gradle index 1f268ee..40e2204 100644 --- a/kbinding-common/build.gradle +++ b/kbinding-common/build.gradle @@ -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 { diff --git a/kbinding-recyclerview-v7/build.gradle b/kbinding-recyclerview-v7/build.gradle index dd638fc..053c774 100644 --- a/kbinding-recyclerview-v7/build.gradle +++ b/kbinding-recyclerview-v7/build.gradle @@ -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 { diff --git a/kbinding-support-v4/build.gradle b/kbinding-support-v4/build.gradle index 9439ceb..a779ef4 100644 --- a/kbinding-support-v4/build.gradle +++ b/kbinding-support-v4/build.gradle @@ -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 { diff --git a/kbinding/build.gradle b/kbinding/build.gradle index 6601c65..294e596 100644 --- a/kbinding/build.gradle +++ b/kbinding/build.gradle @@ -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 { diff --git a/sample/build.gradle b/sample/build.gradle index f7c5490..2abe96c 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -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 {