mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-01-21 12:18:56 -05:00
Further updating would need to migrate to LiteRT first: https://ai.google.dev/edge/litert/migration
37 lines
983 B
Groovy
37 lines
983 B
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 = "35.0.0"
|
|
minSdkVersion = 24
|
|
compileSdkVersion = 35
|
|
targetSdkVersion = 35
|
|
ndkVersion = "27.1.12297006"
|
|
kotlinVersion = "2.0.21"
|
|
// This specifies which tensorflow-lite version to use for our vision-plugin.
|
|
tensorflowVersion = "2.17.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")
|
|
}
|
|
}
|
|
|
|
apply plugin: "com.facebook.react.rootproject"
|
|
|
|
allprojects {
|
|
repositories {
|
|
// Detox Android setup
|
|
maven {
|
|
url("$rootDir/../node_modules/detox/Detox-android")
|
|
}
|
|
}
|
|
}
|