// 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 = 33 targetSdkVersion = 33 // 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() maven { url "https://developer.huawei.com/repo/" } } dependencies { classpath("com.android.tools.build:gradle:7.3.1") classpath("com.facebook.react:react-native-gradle-plugin") classpath("com.huawei.agconnect:agcp:1.6.0.300") } } allprojects { repositories { maven { url "https://mvn.getui.com/nexus/content/repositories/releases/" } maven { url "https://developer.huawei.com/repo/" } google() mavenCentral() } }