Files
flipper/react-native/ReactNativeFlipperExample/android/build.gradle
Lorenzo Blasa 28fbe7f11c Bump react-native-android versions (#3514)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3514

^
Updates a few versions of different things used in react-native-android and the provided sample as to have more parity with the ones used in vanilla Android.

Changelog: React-native Android. Bump tools versions.

Reviewed By: passy

Differential Revision: D34751493

fbshipit-source-id: f2f85eb3e680e120f9526d5a64b3e894882149de
2022-03-09 09:01:28 -08:00

52 lines
1.4 KiB
Groovy

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "30.0.3"
minSdkVersion = 21
compileSdkVersion = 31
targetSdkVersion = 31
ndkVersion = '23.0.7599858'
}
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
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 {
// We don't want to fetch react-native from Maven Central as there are
// older versions over there.
content {
excludeGroup "com.facebook.react"
}
}
google()
jcenter()
maven { url 'https://www.jitpack.io' }
}
}