Merge pull request #523 from dpogue/gradle-repo-order

Always put the Google repo above jcenter
This commit is contained in:
Darryl Pogue 2018-10-23 10:33:57 -07:00 committed by GitHub
commit 03c62e1ce2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -24,10 +24,10 @@ ext {
buildscript { buildscript {
repositories { repositories {
jcenter()
maven { maven {
url "https://maven.google.com" url "https://maven.google.com"
} }
jcenter()
} }
dependencies { dependencies {

View File

@ -2,6 +2,7 @@
buildscript { buildscript {
repositories { repositories {
google()
jcenter() jcenter()
} }
dependencies { dependencies {
@ -14,6 +15,7 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
google()
jcenter() jcenter()
} }
} }

View File

@ -20,8 +20,8 @@
buildscript { buildscript {
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.0.1' classpath 'com.android.tools.build:gradle:3.0.1'
@ -33,8 +33,8 @@ buildscript {
allprojects { allprojects {
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
} }