buildscript {
    ext {
        buildToolsVersion = "36.0.0"
        minSdkVersion = 29
        compileSdkVersion = 36
        targetSdkVersion = 36
        ndkVersion = "27.1.12297006"
        ffmpegKitPackage = "https-gpl"
        kotlinVersion = "2.1.20"
        androidXAnnotation = "1.2.0"
        androidXBrowser = "1.3.0"
        googlePlayServicesAuthVersion = "21.4.0"
        androidXCore = "1.6.0"
        playServicesLocationVersion = "21.0.1"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle'
        classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin'
        classpath 'com.facebook.react:react-native-gradle-plugin'
        classpath 'com.google.gms:google-services:4.4.3'
        classpath 'com.google.firebase:perf-plugin:1.4.2'
        classpath 'io.sentry:sentry-android-gradle-plugin:5.8.1'
    }
    configurations.all {
        resolutionStrategy {
            force 'androidx.core:core:1.6.0'
            force 'androidx.core:core-ktx:1.6.0'
        }
    }
}

allprojects {
    repositories {
        // Notifee local repository (must be before other repos)
        maven {
            url("$rootDir/../node_modules/@notifee/react-native/android/libs")
        }
        google()
        mavenCentral()
        maven { url "https://maven.google.com" }
        maven { url "https://www.jitpack.io" }
        maven {
            // react-native-background-fetch
            url("${project(':react-native-background-fetch').projectDir}/libs")
        }
    }
}

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