mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 08:38:30 -05:00
19699e18b4
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
26 lines
631 B
Groovy
26 lines
631 B
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
maven {
|
|
url "https://maven.google.com"
|
|
}
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:2.2.1'
|
|
classpath 'com.google.gms:google-services:3.1.0'
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
url "https://maven.google.com"
|
|
}
|
|
jcenter()
|
|
}
|
|
}
|