Skip to content

Commit

Permalink
Make google repo priority higher than jcenter (#21910)
Browse files Browse the repository at this point in the history
Summary:
Fixes #21907 (comment) and prevent similar issues happening again
Pull Request resolved: #21910

Differential Revision: D10842256

Pulled By: hramos

fbshipit-source-id: f4abaa1c8ff8df6f0fb57b1bad745f4df9da7143
  • Loading branch information
sunnylqm authored and facebook-github-bot committed Oct 24, 2018
1 parent af4903e commit 88981a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -20,9 +20,9 @@ buildscript {

allprojects {
repositories {
google()
jcenter()
mavenLocal()
google()

def androidSdk = System.getenv("ANDROID_SDK")
maven {
Expand Down
2 changes: 1 addition & 1 deletion local-cli/templates/HelloWorld/android/build.gradle
Expand Up @@ -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()
}
}

Expand Down

0 comments on commit 88981a8

Please sign in to comment.