Fix Android (gradle) build error

Builds that worked one day, suddenly fail the next. The error is:
`Could not find play-services-basement.aar (com.google.android.gms:play-services-basement:15.0.1).`

Re-ordering the repositories fixes the issue (from Stack Overflow):
https://stackoverflow.com/questions/50563407/could-not-find-play-services-basement-aar
This commit is contained in:
chrisgarrity 2018-10-29 09:35:57 -04:00
parent 2da0c818bf
commit 19699e18b4

View file

@ -2,10 +2,10 @@
buildscript {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.1'
@ -18,9 +18,9 @@ buildscript {
allprojects {
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
jcenter()
}
}