Files
iNaturalistReactNative/android/build.gradle
2024-03-29 17:52:37 +01:00

36 lines
1.0 KiB
Groovy

import org.apache.tools.ant.taskdefs.condition.Os
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "33.0.0"
minSdkVersion = 26
compileSdkVersion = 33
targetSdkVersion = 33
kotlinVersion = "1.7.21"
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
ndkVersion = "23.1.7779620"
// This specifies which tensorflow-lite version to use for our vision-plugin.
tensorflowVersion = "2.4.0"
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
// Detox Android setup
maven {
url("$rootDir/../node_modules/detox/Detox-android")
}
}
}