diff --git a/README.md b/README.md index bc40b38..3fe0322 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,14 @@ complexity of your layouts. A customisable Alert view is dynamically added to the Decor View of the Window, overlaying all content. +## Gradle + +```groovy +dependencies { + compile 'com.tapadoo.android:alerter:1.0.1' +} +``` + # Usage With simplicity in mind, the Alerter employs the builder pattern to facilitate easy integration @@ -109,14 +117,6 @@ Alerter.create(this) ![Verbose Alert](./documentation/alert_verbose.gif) -## Gradle - -```groovy -dependecies { - compile 'com.tapadoo.android:alerter:1.0.1' -} -``` - ## Sample Clone this repo and check out the `app` module. diff --git a/alerter/build.gradle b/alerter/build.gradle index 1b7f19e..e42d041 100644 --- a/alerter/build.gradle +++ b/alerter/build.gradle @@ -36,8 +36,8 @@ android { //BinTray configuration - credentials stored in user's gradle.properties bintray { - user = BINTRAY_USER - key = BINTRAY_KEY + user = hasProperty('BINTRAY_USER')? getProperty('BINTRAY_USER') : null + key = hasProperty('BINTRAY_KEY')? getProperty('BINTRAY_KEY') : null publications = ['Alerter'] @@ -157,4 +157,4 @@ task javadocJar(type: Jar, dependsOn: javadoc) { artifacts { archives javadocJar archives sourcesJar -} \ No newline at end of file +}