[LOCAL COMMIT] Make google repo priority higher than jcenter (inspired by PR#21910)

This commit is contained in:
Lorenzo Sciandra
2018-10-24 14:31:41 +01:00
parent ef835b52e7
commit 7a766bf293
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,9 +5,9 @@
buildscript {
repositories {
google()
jcenter()
mavenLocal()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
@@ -20,9 +20,9 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenLocal()
google()
def androidSdk = System.getenv("ANDROID_SDK")
maven {
@@ -9,8 +9,8 @@ buildscript {
supportLibVersion = "27.1.1"
}
repositories {
jcenter()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
@@ -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()
}
}