Skip to content

Commit

Permalink
Merge pull request apache#523 from dpogue/gradle-repo-order
Browse files Browse the repository at this point in the history
Always put the Google repo above jcenter
  • Loading branch information
dpogue authored Oct 23, 2018
2 parents ff2ec7e + 2c10545 commit 03c62e1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ ext {

buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
jcenter()
}

dependencies {
Expand Down
2 changes: 2 additions & 0 deletions spec/fixtures/android_studio_project/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

allprojects {
repositories {
google()
jcenter()
}
}
Expand Down
4 changes: 2 additions & 2 deletions test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

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

allprojects {
repositories {
jcenter()
google()
jcenter()
}
}

Expand Down

0 comments on commit 03c62e1

Please sign in to comment.