build.gradle 802 Bytes
Newer Older
yogevbd's avatar
yogevbd committed
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
Amit Davidi's avatar
Amit Davidi committed
2

yogevbd's avatar
yogevbd committed
3 4 5 6 7 8
buildscript {
    repositories {
        mavenLocal()
        mavenCentral()
        google()
        jcenter()
Amit Davidi's avatar
Amit Davidi committed
9
    }
yogevbd's avatar
yogevbd committed
10 11 12 13 14
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.1'
        classpath 'com.google.gms:google-services:4.0.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
Amit Davidi's avatar
Amit Davidi committed
15 16 17
    }
}

yogevbd's avatar
yogevbd committed
18 19 20 21 22 23 24 25
allprojects {
    repositories {
        mavenLocal()
        mavenCentral()
        google()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
26
            url "$rootDir/../../node_modules/react-native/android"
yogevbd's avatar
yogevbd committed
27 28
        }
    }
Amit Davidi's avatar
Amit Davidi committed
29
}