build.gradle 1.22 KB
Newer Older
Giang Tran committed
1 2 3 4
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
Giang Tran committed
5
        buildToolsVersion = "29.0.2"
Giang Tran committed
6
        minSdkVersion = 21
Giang Tran committed
7
        compileSdkVersion = 28
Giang Tran committed
8
        targetSdkVersion = 29
Giang Tran committed
9 10 11 12 13 14
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
Giang Tran committed
15
        classpath("com.android.tools.build:gradle:4.0.1")
Giang Tran committed
16
        classpath 'com.google.gms:google-services:4.3.5'
Giang Tran committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32

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

allprojects {
    repositories {
        mavenLocal()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
Giang Tran committed
33 34 35 36

        }
                maven {
                url("$rootDir/../node_modules/react-native-vnpay-merchant/android/repo")
Giang Tran committed
37
        }
Giang Tran committed
38 39
        // ADD THIS
        maven { url 'https://maven.google.com' }
Giang Tran committed
40 41 42 43 44 45

        google()
        jcenter()
        maven { url 'https://www.jitpack.io' }
    }
}