123456789101112131415161718192021222324252627282930313233343536 |
- buildscript {
- ext {
- buildToolsVersion = "34.0.0"
- minSdkVersion = 21
- compileSdkVersion = 34
- targetSdkVersion = 34
- kotlinVersion = "1.8.0"
- // ndkVersion = "23.1.7779620"
- if (System.properties['os.arch'] == "aarch64") {
- // For M1 Users we need to use the NDK 24 which added support for aarch64
- ndkVersion = "24.0.8215888"
- } else {
- // Otherwise we default to the side-by-side NDK version from AGP.
- ndkVersion = "21.4.7075529"
- }
- }
- 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: "com.facebook.react.rootproject"
|