mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
d587e0c2a5
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35196 Changelog: [Android][Changed] - Bump Android compile and target SDK to 33 Reviewed By: cortinico Differential Revision: D41007003 fbshipit-source-id: e7866107fdcfafa778faa6c7f31835b8dd15647a
38 lines
1.0 KiB
Groovy
38 lines
1.0 KiB
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")
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
maven {
|
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
|
url("$rootDir/../node_modules/react-native/android")
|
|
}
|
|
maven {
|
|
// Android JSC is installed from npm
|
|
url("$rootDir/../node_modules/jsc-android/dist")
|
|
}
|
|
mavenCentral()
|
|
google()
|
|
maven { url 'https://www.jitpack.io' }
|
|
}
|
|
}
|