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:
Sunny Luo 2018-10-24 14:43:12 -07:00 committed by Facebook Github Bot
parent af4903ed73
commit 88981a8e12
2 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenLocal()
google()
def androidSdk = System.getenv("ANDROID_SDK")
maven {

View File

@ -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()
}
}