buildscript {
    ext {
        buildToolsVersion = "36.0.0"
        // CameraX needs 21, MediaPipe Tasks needs 24. The template ships 24 already; it is
        // repeated in the installation guide because a lower value fails at dependency
        // resolution rather than at runtime.
        minSdkVersion = 24
        compileSdkVersion = 36
        targetSdkVersion = 36
        ndkVersion = "27.1.12297006"
        kotlinVersion = "2.1.20"
    }
    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")
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}

apply plugin: "expo-root-project"
apply plugin: "com.facebook.react.rootproject"
