build.gradle 979 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
    ext {
yogevbd's avatar
yogevbd committed
5
        buildToolsVersion = "28.0.0"
6 7
        minSdkVersion = 16
        compileSdkVersion = 28
yogevbd's avatar
yogevbd committed
8
        targetSdkVersion = 26
9 10
        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'
yogevbd's avatar
yogevbd committed
19
        classpath 'com.google.gms:google-services:4.0.0'
Lidan Hifi's avatar
Lidan Hifi committed
20 21 22 23 24
    }
}

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

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

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