buildscript {
    ext {
        googlePlayServicesVersion = "17.0.0"
        buildToolsVersion = "35.0.0"
        minSdkVersion = 24
        compileSdkVersion = 35
        targetSdkVersion = 35
        firebaseIidVersion = "21.1.0" // Needed for react-native-device-info
        googlePlayServicesAuthVersion = "16.0.1"
        ndkVersion = "27.1.12297006"
        kotlinVersion = '2.0.21'
    }
    repositories {
        google()
        mavenCentral()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath('com.google.gms:google-services:4.3.8')
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
    }
}

plugins {
  id("co.uzzu.dotenv.gradle") version "4.0.0"
}

allprojects {
    repositories {
        maven { url "https://appboy.github.io/appboy-android-sdk/sdk" }
        jcenter()
        maven {
            url 'https://api.mapbox.com/downloads/v2/releases/maven'
            authentication {
                basic(BasicAuthentication)
            }
            credentials {
                username 'mapbox'
                password = env.MAPBOX_DOWNLOAD_TOKEN.value
            }
        }
    }
}

apply plugin: "com.facebook.react.rootproject"
