build.gradle 672 Bytes
Newer Older
Lidan Hifi's avatar
Lidan Hifi committed
1 2 3 4
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
Guy Carmeli's avatar
Guy Carmeli committed
5 6 7
        google()
        mavenLocal()
        mavenCentral()
Lidan Hifi's avatar
Lidan Hifi committed
8 9 10
        jcenter()
    }
    dependencies {
Guy Carmeli's avatar
Guy Carmeli committed
11
        classpath 'com.android.tools.build:gradle:3.2.1'
Lidan Hifi's avatar
Lidan Hifi committed
12 13 14 15 16
    }
}

allprojects {
    repositories {
Guy Carmeli's avatar
Guy Carmeli committed
17 18 19
        mavenLocal()
        mavenCentral()
        google()
Lidan Hifi's avatar
Lidan Hifi committed
20
        jcenter()
Amit Davidi's avatar
Amit Davidi committed
21

Lidan Hifi's avatar
Lidan Hifi committed
22 23
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
24
            url "$rootDir/../node_modules/react-native/android"
Lidan Hifi's avatar
Lidan Hifi committed
25 26 27
        }
    }
}
Amit Davidi's avatar
Amit Davidi committed
28 29 30 31

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