// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "33.0.0"
        minSdkVersion = '21'
        compileSdkVersion = 'android-31'  // Update to a valid SDK version
        targetSdkVersion = '31'  // Update to a valid SDK version
        kotlinVersion: '1.6.20'

        // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
        ndkVersion = "23.1.7779620"
    }
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:7.3.1")
        classpath("com.facebook.react:react-native-gradle-plugin")
        classpath('de.undercouch:gradle-download-task:5.0.1')
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20")
    }
}
