Make google repo priority higher than jcenter (#21910)
Summary: Fixes https://github.com/facebook/react-native/issues/21907#issuecomment-432319128 and prevent similar issues happening again Pull Request resolved: https://github.com/facebook/react-native/pull/21910 Differential Revision: D10842256 Pulled By: hramos fbshipit-source-id: f4abaa1c8ff8df6f0fb57b1bad745f4df9da7143
This commit is contained in:
parent
af4903ed73
commit
88981a8e12
|
@ -20,9 +20,9 @@ buildscript {
|
|||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
mavenLocal()
|
||||
google()
|
||||
|
||||
def androidSdk = System.getenv("ANDROID_SDK")
|
||||
maven {
|
||||
|
|
|
@ -22,13 +22,13 @@ buildscript {
|
|||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
mavenLocal()
|
||||
jcenter()
|
||||
maven {
|
||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||
url "$rootDir/../node_modules/react-native/android"
|
||||
}
|
||||
google()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue