android: simplify using the Google Maven repo reference

Also remove mavenLocal since we don't need it.
This commit is contained in:
Saúl Ibarra Corretgé 2017-12-14 09:56:23 +01:00 committed by Paweł Domas
parent 7001208d87
commit 49acd6bf6a
1 changed files with 2 additions and 3 deletions

View File

@ -3,8 +3,8 @@
buildscript {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
@ -16,9 +16,8 @@ buildscript {
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven { url "https://maven.google.com" } // Required for appcompat.
// React Native (JS, Obj-C sources, Android binaries) is installed from
// npm.
maven { url "$rootDir/../node_modules/react-native/android" }