2018-03-17 20:36:40 -04:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
|
|
buildscript {
|
2018-09-23 18:24:06 -04:00
|
|
|
ext {
|
2021-09-17 13:27:50 +07:00
|
|
|
buildToolsVersion = "30.0.2"
|
2021-07-24 15:31:14 +07:00
|
|
|
minSdkVersion = 21
|
2021-09-17 13:27:50 +07:00
|
|
|
compileSdkVersion = 30
|
|
|
|
|
targetSdkVersion = 30
|
2021-07-24 15:31:14 +07:00
|
|
|
ndkVersion = "20.1.5948944"
|
2018-09-23 18:24:06 -04:00
|
|
|
}
|
2018-03-17 20:36:40 -04:00
|
|
|
repositories {
|
2018-09-23 18:24:06 -04:00
|
|
|
google()
|
2021-09-17 13:27:50 +07:00
|
|
|
mavenCentral()
|
2018-03-17 20:36:40 -04:00
|
|
|
}
|
|
|
|
|
dependencies {
|
2021-09-17 13:27:50 +07:00
|
|
|
classpath("com.android.tools.build:gradle:4.2.1")
|
2018-03-17 20:36:40 -04:00
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
|
|
|
// in the individual module build.gradle files
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
|
repositories {
|
2021-09-17 13:27:50 +07:00
|
|
|
mavenCentral()
|
2018-03-17 20:36:40 -04:00
|
|
|
mavenLocal()
|
|
|
|
|
maven {
|
|
|
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
2019-07-04 23:49:38 -04:00
|
|
|
url("$rootDir/../node_modules/react-native/android")
|
2018-03-17 20:36:40 -04:00
|
|
|
}
|
2019-07-04 23:49:38 -04:00
|
|
|
maven {
|
|
|
|
|
// Android JSC is installed from npm
|
|
|
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
google()
|
2021-07-24 15:31:14 +07:00
|
|
|
maven { url 'https://www.jitpack.io' }
|
2018-03-17 20:36:40 -04:00
|
|
|
}
|
|
|
|
|
}
|