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

buildscript {
    repositories {
5
        google()
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
6
        mavenCentral()
Wietse Kuipers's avatar
Wietse Kuipers committed
7
8
9
        jcenter()
    }
    dependencies {
10
11
        classpath 'com.android.tools.build:gradle:3.3.2'
        classpath 'com.google.gms:google-services:4.2.0'
Wietse Kuipers's avatar
Wietse Kuipers committed
12
13
14
15
16
17
18
19
20
21
22
23

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
24
        mavenLocal()
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
25
26
27
        google()
        mavenCentral()
        jcenter()
Wietse Kuipers's avatar
Wietse Kuipers committed
28
    }
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
29
30
31
}

ext {
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
32
    buildToolsVersion = "28.0.3"
33
    minSdkVersion = 18
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
34
35
36
    compileSdkVersion = 28
    targetSdkVersion = 28
    supportLibVersion = "28.0.0"
Sébastiaan Versteeg's avatar
Sébastiaan Versteeg committed
37
}