// 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
        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "21.4.7075529"
        kotlinVersion = "1.9.22"
    }
    repositories {
        google()
        jcenter()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:8.4.0")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath("org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.3")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
    }
}


// @generated begin expo-camera-import - expo prebuild (DO NOT MODIFY) sync-f244f4f3d8bf7229102e8f992b525b8602c74770
def expoCameraMavenPath = new File(["node", "--print", "require.resolve('expo-camera/package.json')"].execute(null, rootDir).text.trim(), "../android/maven")
allprojects { repositories {
    maven{url("https://central.sonatype.com/repository/maven-snapshots/")}
    maven { url(expoCameraMavenPath) }
    mavenCentral()
    maven {url("https://repo.danubetech.com/repository/maven-public/")}
    configurations.all {
        resolutionStrategy {
            // use 0.9.0 to fix crash on Android 11
            cacheChangingModulesFor 0, 'seconds'
            force "com.facebook.soloader:soloader:0.9.0+"
            force "com.apicatalog:titanium-json-ld:1.3.1"

        }
    }
    }
}
// @generated end expo-camera-import
