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

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
Libin Lu's avatar
Libin Lu committed
8
        classpath 'com.android.tools.build:gradle:2.2.3'
renato's avatar
renato committed
9
        classpath 'com.google.gms:google-services:3.0.0'
renato's avatar
renato committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23

        // 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
24 25 26
        maven {
            url "https://maven.google.com"
        }
renato's avatar
renato committed
27 28
    }
}