From 325e263f37b0c57a148366bad0109bdf6f72972a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Fern=C3=A1ndez?= Date: Thu, 30 Mar 2017 17:54:54 -0300 Subject: [PATCH] Fix android installation docs --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0169790..cb26ece 100644 --- a/README.md +++ b/README.md @@ -26,20 +26,23 @@ Check the [roadmap here](https://github.com/Kureev/react-native-blur/issues/1) react-native link react-native-blur ``` 3. (Android only) Add the following to your `android/app/build.gradle` - ``` - repositories { - maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' } - } - buildscript { - repositories { - maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' } - } - dependencies { - classpath 'com.fivehundredpx:blurringview:1.0.0' - } - } +`android/build.gradle` ``` + allprojects { + repositories { + maven { url 'https://github.com/500px/500px-android-blur/raw/master/releases/' } + } +} +``` + +`android/app/build.gradle` +``` +dependencies { + compile 'com.fivehundredpx:blurringview:1.0.0' +} +``` + 4. Inside your code include JS part by adding ```javascript