2017-05-06 16:37:28 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
buildscript {
|
2018-10-02 20:57:31 +02:00
|
|
|
ext {
|
2021-11-02 18:33:53 +02:00
|
|
|
buildToolsVersion = "30.0.2"
|
2021-03-10 21:15:01 +02:00
|
|
|
minSdkVersion = 21
|
2021-11-02 18:33:53 +02:00
|
|
|
compileSdkVersion = 30
|
|
|
|
targetSdkVersion = 30
|
|
|
|
ndkVersion = "21.4.7075529"
|
2018-10-02 20:57:31 +02:00
|
|
|
}
|
2017-05-06 16:37:28 +02:00
|
|
|
repositories {
|
2018-10-02 20:57:31 +02:00
|
|
|
google()
|
2021-11-02 18:33:53 +02:00
|
|
|
mavenCentral()
|
2017-05-06 16:37:28 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2021-11-02 18:33:53 +02:00
|
|
|
classpath("com.android.tools.build:gradle:4.2.2")
|
2017-05-06 16:37:28 +02:00
|
|
|
// 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
|
2020-02-09 16:51:12 +02:00
|
|
|
url("$rootDir/../node_modules/react-native/android")
|
2017-05-06 16:37:28 +02:00
|
|
|
}
|
2019-06-14 19:37:46 +02:00
|
|
|
maven {
|
2020-02-09 16:51:12 +02:00
|
|
|
// Android JSC is installed from npm
|
|
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
2019-06-14 19:37:46 +02:00
|
|
|
}
|
2022-11-11 14:22:52 +02:00
|
|
|
mavenCentral {
|
|
|
|
// We don't want to fetch react-native from Maven Central as there are
|
|
|
|
// older versions over there.
|
|
|
|
content {
|
|
|
|
excludeGroup "com.facebook.react"
|
|
|
|
}
|
|
|
|
}
|
2020-02-09 16:51:12 +02:00
|
|
|
google()
|
2020-10-16 17:26:19 +02:00
|
|
|
maven { url 'https://www.jitpack.io' }
|
2017-05-06 16:37:28 +02:00
|
|
|
}
|
|
|
|
}
|