build.gradle 891 Bytes
Newer Older
renato's avatar
renato committed
1 2 3 4 5
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
Libin Lu's avatar
Libin Lu committed
6 7 8 9
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
renato's avatar
renato committed
10 11
    }
    dependencies {
Libin Lu's avatar
Libin Lu committed
12 13
        classpath 'com.android.tools.build:gradle:3.1.1'
        classpath 'com.google.gms:google-services:3.1.2'
renato's avatar
renato committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
Libin Lu's avatar
Libin Lu committed
28
        maven {
Libin Lu's avatar
Libin Lu committed
29 30
            url 'https://maven.google.com/'
            name 'Google'
Libin Lu's avatar
Libin Lu committed
31
        }
renato's avatar
renato committed
32 33
    }
}