mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
feeb4b773b
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44850 I'm removing this line from settings.gradle: ``` import com.facebook.react.ReactSettingsExtension ``` and just using a fully qualified class name in the `configure{}` block as imports cannot be conditionally included and is making hard for RNTA to integrated those changes. Changelog: [Internal] [Changed] - Remove import of `com.facebook.react.ReactSettingsExtension` Reviewed By: huntie Differential Revision: D58354443 fbshipit-source-id: bc45516661318021a042e1c5921e28d7217cacbc
16 lines
587 B
Groovy
16 lines
587 B
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("../node_modules/@react-native/gradle-plugin") }
|
|
plugins { id("com.facebook.react.settings") }
|
|
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
|
|
|
rootProject.name = 'HelloWorld'
|
|
include ':app'
|
|
includeBuild('../../react-native-gradle-plugin')
|