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 {
|
2025-01-28 17:53:13 +00:00
|
|
|
buildToolsVersion = "33.0.0"
|
2025-01-16 16:03:31 +00:00
|
|
|
minSdkVersion = 24
|
|
|
|
|
compileSdkVersion = 34
|
|
|
|
|
targetSdkVersion = 34
|
2023-04-21 16:46:26 +00:00
|
|
|
kotlinVersion = "1.5.30"
|
2021-05-11 17:34:40 +00:00
|
|
|
}
|
|
|
|
|
repositories {
|
|
|
|
|
google()
|
2024-08-13 18:10:51 +00:00
|
|
|
mavenCentral()
|
2021-05-11 17:34:40 +00:00
|
|
|
}
|
|
|
|
|
dependencies {
|
2025-02-04 17:53:20 +00:00
|
|
|
classpath('com.android.tools.build:gradle:7.4.2')
|
2023-04-21 16:46:26 +00:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
2025-01-28 17:53:13 +00:00
|
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
|
|
|
|
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")
|
|
|
|
|
}
|
2024-08-13 18:10:51 +00:00
|
|
|
maven {
|
2023-04-21 16:46:26 +00:00
|
|
|
// Add Detox as a precompiled native dependency
|
|
|
|
|
url("$rootDir/../node_modules/detox/Detox-android")
|
|
|
|
|
}
|
2021-05-11 17:34:40 +00:00
|
|
|
|
|
|
|
|
google()
|
2024-08-13 18:10:51 +00:00
|
|
|
mavenCentral()
|
2021-05-11 17:34:40 +00:00
|
|
|
maven { url 'https://www.jitpack.io' }
|
|
|
|
|
}
|
|
|
|
|
}
|