build.gradle 648 Bytes
Newer Older
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau 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 {
8
        classpath 'com.android.tools.build:gradle:2.1.2'
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
9 10 11 12 13 14 15 16 17 18

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

allprojects {
    repositories {
        mavenLocal()
        jcenter()
19 20 21 22
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$projectDir/../../node_modules/react-native/android"
        }
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
23 24
    }
}