2021-05-11 17:34:40 +00:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
|
|
|
|
|
buildscript {
|
|
|
|
|
ext {
|
|
|
|
|
buildToolsVersion = "29.0.2"
|
2022-05-03 02:36:41 +00:00
|
|
|
minSdkVersion = 21
|
2022-07-27 22:15:45 +00:00
|
|
|
compileSdkVersion = 31
|
2023-03-14 20:35:38 +00:00
|
|
|
targetSdkVersion = 31
|
2023-04-21 16:46:26 +00:00
|
|
|
kotlinVersion = "1.5.30"
|
2021-05-11 17:34:40 +00:00
|
|
|
}
|
|
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
jcenter()
|
|
|
|
|
}
|
|
|
|
|
dependencies {
|
2023-06-22 21:33:49 +00:00
|
|
|
classpath('com.android.tools.build:gradle:7.1.1')
|
2023-04-21 16:46:26 +00:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
2021-05-11 17:34:40 +00:00
|
|
|
// 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")
|
|
|
|
|
}
|
2023-04-21 16:46:26 +00:00
|
|
|
maven {
|
|
|
|
|
// Add Detox as a precompiled native dependency
|
|
|
|
|
url("$rootDir/../node_modules/detox/Detox-android")
|
|
|
|
|
}
|
2021-05-11 17:34:40 +00:00
|
|
|
|
|
|
|
|
google()
|
|
|
|
|
jcenter()
|
|
|
|
|
maven { url 'https://www.jitpack.io' }
|
|
|
|
|
}
|
|
|
|
|
}
|