mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35644 The `repositories{}` block in the top level build.gradle is not needed anymore The React Native Gradle Plugin is taking care of it. Users can still specify if they need to provide custom repositories. Changelog: [Android] [Changed] - Remove unnecessary repositories{} block from top level build.gradle Reviewed By: cipolleschi Differential Revision: D42033953 fbshipit-source-id: 8ec1c12147fae68302ab47c60045869c72d1812c
22 lines
607 B
Groovy
22 lines
607 B
Groovy
// 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()
|
|
}
|
|
dependencies {
|
|
classpath("com.android.tools.build:gradle:7.3.1")
|
|
classpath("com.facebook.react:react-native-gradle-plugin")
|
|
}
|
|
}
|