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

buildscript {
4 5 6 7 8 9 10
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"
    }
Lidan Hifi's avatar
Lidan Hifi committed
11
    repositories {
Guy Carmeli's avatar
Guy Carmeli committed
12 13 14
        google()
        mavenLocal()
        mavenCentral()
Lidan Hifi's avatar
Lidan Hifi committed
15 16 17
        jcenter()
    }
    dependencies {
18
        classpath 'com.android.tools.build:gradle:3.3.1'
Lidan Hifi's avatar
Lidan Hifi committed
19 20 21 22 23
    }
}

allprojects {
    repositories {
Guy Carmeli's avatar
Guy Carmeli committed
24 25 26
        mavenLocal()
        mavenCentral()
        google()
Lidan Hifi's avatar
Lidan Hifi committed
27
        jcenter()
Amit Davidi's avatar
Amit Davidi committed
28

Lidan Hifi's avatar
Lidan Hifi committed
29 30
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
31
            url "$rootDir/../node_modules/react-native/android"
Lidan Hifi's avatar
Lidan Hifi committed
32 33 34
        }
    }
}
Amit Davidi's avatar
Amit Davidi committed
35 36 37 38

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