From da7ae4d095b6243b0aa9d2770bf367dc2918e66b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Mart=C3=ADnez?= Date: Tue, 12 Aug 2014 20:32:58 -0300 Subject: [PATCH] Finish instructions and finnaly deploy release version to maven central --- README.md | 21 ++++++++++++++------- gradle.properties | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2efbe9a..1a0d3a4 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,25 @@ Default conditions to show: ## Installation -* Manually +It's very simple with gradle ;) -Create in your root project folder a folder called `libraries`. +Add `mavenCentral` as repository source: -Download the library folder and import it into your project and rename `library` to `EasyRatingDialog`. +```gradle +repositories { + mavenCentral() +} +``` -Now, to setup with gradle, you need to do the following steps: +And finnaly add this line inside `dependencies { }` section: + +```gradle +compile 'com.github.fernandodev.easyratingdialog:easyratingdialog:+' +``` -1. In `gradle.settings` add: `':libraries:EasyRatingDialog'` -2. In `gradle.build` at `dependencies` add `compile project(':libraries:EasyRatingDialog')` +The `+` symbol indicates to gradle to get the latest version. -* Gradle Dependency: _**coming soon**_ +* See the sample if there are any doubts. ## Using diff --git a/gradle.properties b/gradle.properties index 1e9e4d7..495659b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects # org.gradle.parallel=true -VERSION_NAME=1.0.0-SNAPSHOT +VERSION_NAME=1.0.0 VERSION_CODE=1 GROUP=com.github.fernandodev.easyratingdialog