mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
c3ff336326
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/32177 This diff merges the `react-native-gradle-plugin` and the `react-codegen/android` into a single plugin. This will allow us to iterate faster on a single plugin, will create less confusion for our users (`react` vs `reactApp`) and will help us avoid race conditions when the two plugins are applied together (as we will control the whole lifecycle of it). Changelog: [Internal] [Changed] - Merged the two Gradle Plugins allow-large-files Reviewed By: ShikaSD Differential Revision: D30765147 fbshipit-source-id: fcb02a181c7d900daa514107c637d0ee0225976c
31 lines
735 B
Plaintext
31 lines
735 B
Plaintext
/*
|
|
* Copyright (c) Facebook, Inc. and its 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 {
|
|
gradlePluginPortal()
|
|
mavenLocal()
|
|
google()
|
|
}
|
|
}
|
|
|
|
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/")
|
|
|
|
// Include this to build the Android template as well and make sure is not broken.
|
|
if (File("template/node_modules/").exists()) {
|
|
includeBuild("template/android/") {
|
|
name = "template-android"
|
|
}
|
|
}
|