mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
15909fab95
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44832 I'm renaming this folder as now we have 2 gradle plugins + we currently have `package/react-native-gradle-plugin/react-native-gradle-plugin/` which is confusing so we can just call this folder `packages/gradle-plugin/` to be consistent with the NPM package name Changelog: [Internal] [Changed] - packages/react-native-gradle-plugin/ -> packages/gradle-plugin/ Reviewed By: blakef Differential Revision: D58284883 fbshipit-source-id: 5a7bb40a5d80f6fbab4ffb29e44107453f1013ec
24 lines
1.1 KiB
Groovy
24 lines
1.1 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.
|
|
*/
|
|
|
|
// Autolinking has now moved into the React Native Gradle Plugin
|
|
pluginManagement { includeBuild("../../gradle-plugin") }
|
|
plugins { id("com.facebook.react.settings") }
|
|
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
|
|
|
rootProject.name = 'HelloWorld'
|
|
include ':app'
|
|
includeBuild('../../gradle-plugin')
|
|
includeBuild('../../react-native') {
|
|
dependencySubstitution {
|
|
substitute(module("com.facebook.react:react-android")).using(project(":packages:react-native:ReactAndroid"))
|
|
substitute(module("com.facebook.react:react-native")).using(project(":packages:react-native:ReactAndroid"))
|
|
substitute(module("com.facebook.react:hermes-android")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
|
|
substitute(module("com.facebook.react:hermes-engine")).using(project(":packages:react-native:ReactAndroid:hermes-engine"))
|
|
}
|
|
}
|