From e9bdefecfd6f16dd474a7899ea8dc57cb4d332c6 Mon Sep 17 00:00:00 2001 From: Artem Hluhovskyi Date: Wed, 24 Jan 2018 17:46:04 +0200 Subject: [PATCH] Update library version 0.1.0 -> 0.1.1 --- README.md | 2 +- holdingbutton/build.gradle | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 46f291b..36e0b1f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Button which is visible while user holds it. Main use case is controlling audio Add library as dependency to your `build.gradle`. ``` -compile 'com.dewarder:holdingbutton:0.1.0' +compile 'com.dewarder:holdingbutton:0.1.1' ``` ## How to use diff --git a/holdingbutton/build.gradle b/holdingbutton/build.gradle index a942e58..d2850ff 100644 --- a/holdingbutton/build.gradle +++ b/holdingbutton/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.github.dcendents.android-maven' apply plugin: 'com.jfrog.bintray' ext { - artifactVersion = '0.1.0' + artifactVersion = '0.1.1' artifactName = 'holdingbutton' siteUrl = 'https://github.com/dewarder/HoldingButton' gitUrl = 'https://github.com/dewarder/HoldingButton.git' @@ -92,9 +92,12 @@ artifacts { Properties properties = new Properties() properties.load(project.rootProject.file('local.properties').newDataInputStream()) +def bintrayUser = hasProperty('bintrayUser') ? bintrayUser : "" +def bintrayKey = hasProperty('bintrayKey') ? bintrayKey : "" + bintray { - user = properties['bintray.user'] - key = properties['bintray.apikey'] + user = bintrayUser + key = bintrayKey configurations = ['archives'] publish = true pkg { @@ -105,7 +108,7 @@ bintray { vcsUrl = gitUrl version { name = artifactVersion - desc = 'Add RTL support. Upgrade dependencies versions.' + desc = 'Add VectorDrawable support. Add setIcon method for Drawable' released = new Date() vcsTag = "$artifactVersion" }