mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-19 14:28:02 -04:00
* Update vision camera * Breaking change: camera device hook * Breaking change: replace reanimated function calls * Update vision plugin * New take photo options * Use changed props * Remove undocumented prop * Update test mocks for vision camera libraries * Replace vision camera device orientation strings * Add explanations to a central file for patches needed with the vision camera * Some more patches
36 lines
1.0 KiB
Groovy
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:7.3.1")
|
|
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")
|
|
}
|
|
}
|
|
}
|