Skip to content

Commit

Permalink
build: reverse dep order, google then jcenter (#387)
Browse files Browse the repository at this point in the history
Fixes #386 where jcenter had a POM but 404d the artifact, breaking builds,
while google has the POM and artifact (as it's a google support library)

Also, jcenter is a superset of mavenCentral, so mavenCentral is
redundant:
https://jfrog.com/knowledge-base/why-should-i-use-jcenter-over-maven-central/
  • Loading branch information
mikehardy authored and jgcmarins committed Oct 23, 2018
1 parent 28e62b1 commit 2c91ecc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
repositories {
jcenter()
google()
jcenter()
}

dependencies {
Expand Down Expand Up @@ -33,7 +33,6 @@ android {
}

repositories {
mavenCentral()
google()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
Expand Down

0 comments on commit 2c91ecc

Please sign in to comment.