diff --git a/build.gradle b/build.gradle index c86bc8e..7027e6e 100644 --- a/build.gradle +++ b/build.gradle @@ -12,10 +12,13 @@ ext { compileSdkVersion = 22 buildToolsVersion = "22.0.1" + + versionCode = Integer.parseInt(project.VERSION_CODE) + versionName = project.VERSION_NAME } ext.libraries = [ androidGradle: 'com.android.tools.build:gradle:1.3.0', - androidV7Support: 'com.android.support:appcompat-v7:22.1.+', + androidV7Support: 'com.android.support:appcompat-v7:22.1.0', junit: 'junit:junit:4.11' ] \ No newline at end of file diff --git a/confirmdialog-sample/build.gradle b/confirmdialog-sample/build.gradle index bc6c2a9..1590d3b 100644 --- a/confirmdialog-sample/build.gradle +++ b/confirmdialog-sample/build.gradle @@ -18,8 +18,8 @@ android { applicationId "com.vikki.logs.dialog.confirmdialog.sample" minSdkVersion parent.ext.minSdkVersion targetSdkVersion parent.ext.targetSdkVersion - versionCode 1 - versionName "1.0" + versionCode parent.ext.versionCode + versionName parent.ext.versionName } buildTypes { release { diff --git a/confirmdialog/build.gradle b/confirmdialog/build.gradle index 1b19a7a..cf3ecba 100644 --- a/confirmdialog/build.gradle +++ b/confirmdialog/build.gradle @@ -16,8 +16,8 @@ android { defaultConfig { minSdkVersion parent.ext.minSdkVersion targetSdkVersion parent.ext.targetSdkVersion - versionCode 1 - versionName "1.0" + versionCode parent.ext.versionCode + versionName parent.ext.versionName } buildTypes { @@ -51,4 +51,4 @@ android.libraryVariants.all { variant -> project.tasks.getByName("check").dependsOn checkstyle } -apply from: 'https://raw.githubusercontent.com/vignesh-iopex/gradle-mvn-push/master/gradle-mvn-push.gradle' \ No newline at end of file +apply from: 'https://raw.githubusercontent.com/chrisbanes/gradle-mvn-push/master/gradle-mvn-push.gradle' \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index f8ceeb4..4db1721 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,8 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. # -VERSION_NAME=1.0.1 -VERSION_CODE=2 +VERSION_NAME=1.0.2 +VERSION_CODE=3 GROUP=com.github.vignesh-iopex POM_DESCRIPTION=A custom animated Android confirm dialog library