build.gradle 550 Bytes
Newer Older
Lidan Hifi's avatar
Lidan Hifi 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 {
Amit Davidi's avatar
Amit Davidi committed
8
        classpath 'com.android.tools.build:gradle:2.2.0'
Lidan Hifi's avatar
Lidan Hifi committed
9 10 11 12 13 14
    }
}

allprojects {
    repositories {
        jcenter()
Amit Davidi's avatar
Amit Davidi committed
15

Lidan Hifi's avatar
Lidan Hifi committed
16 17
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
18
            url "$rootDir/../node_modules/react-native/android"
Lidan Hifi's avatar
Lidan Hifi committed
19 20 21
        }
    }
}
Amit Davidi's avatar
Amit Davidi committed
22 23 24 25

task clean(type: Delete) {
    delete rootProject.buildDir
}