From c56bf3a5a5bff8c70563f38c4928c0a443adf25a Mon Sep 17 00:00:00 2001 From: Kamol Mavlonov Date: Fri, 23 Jan 2015 12:05:50 +0900 Subject: [PATCH] Update README.md Added usage description for Gradle. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 88127624a..126c52db5 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,17 @@ a dependency: apklib +If you are a Gradle user you can easily include the library by specifying it in your gradle file: + + repositories { + mavenCentral() + maven { url "http://dl.bintray.com/populov/maven" } + } + + dependencies { + compile 'com.viewpagerindicator:library:2.4.1' + } + This project depends on the `ViewPager` class which is available in the [Android Support Library][2] or [ActionBarSherlock][3]. Details for including one of those libraries is available on their respecitve web sites.