mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
3cf0291008
Summary: Gradle Plugin Portal proxies jcenter which is quite unstable these days. This change updates plugin repositories to look into maven central and google first and use gradle plugin repo only as a fallback. Changelog: [Internal] - Prioritize maven central for Gradle plugins Reviewed By: cortinico Differential Revision: D33550827 fbshipit-source-id: b436b05b0fd07865b56dd3e442d8399678dfff85
25 lines
527 B
Plaintext
25 lines
527 B
Plaintext
/*
|
|
* 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.
|
|
*/
|
|
|
|
pluginManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
include(
|
|
":ReactAndroid",
|
|
":packages:react-native-codegen:android",
|
|
":packages:rn-tester:android:app"
|
|
)
|
|
|
|
// Include this to enable codegen Gradle plugin.
|
|
includeBuild("packages/react-native-gradle-plugin/")
|
|
|