build.gradle 642 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.2.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
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
21
            url "$rootDir/../node_modules/react-native/android"
22
        }
Gaëtan Renaudeau's avatar
Gaëtan Renaudeau committed
23 24
    }
}