diff --git a/README.md b/README.md index 22da15b..f9b397f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![](https://jitpack.io/v/neworld/spanner.svg)](https://jitpack.io/#neworld/spanner) + This lib provides simple and fluent API for creating [Android Spannable](https://developer.android.com/reference/android/text/Spannable.html). Features: - Simple and fluent API @@ -37,6 +39,19 @@ Spannable spannable = new Spanner("The quick brown fox jumps over the lazy dog") .insert(5, "foo", bold(), italic() /* any number of spans */) .append("bar", underline() /* any number of spans */); ``` +#### How to use +``` + allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } + } + + dependencies { + compile 'com.github.neworld:spanner:0.1' + } +``` #### License