Update README.md

This commit is contained in:
Ivan Pusic 2018-02-01 10:13:55 +01:00 committed by GitHub
parent edaf107aa8
commit b21952feb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -216,13 +216,17 @@ buildscript {
} }
``` ```
- Add the following to your `build.gradle`'s repositories section. (project build.gradle) - **VERY IMPORTANT** Add the following to your `build.gradle`'s repositories section. (android/build.gradle)
```gradle ```gradle
allprojects { allprojects {
repositories { repositories {
jcenter() mavenLocal()
maven { url "https://jitpack.io" } jcenter()
maven { url "$rootDir/../node_modules/react-native/android" }
// jitpack repo is necessary to fetch ucrop dependency
maven { url "https://jitpack.io" }
} }
} }
``` ```