mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
8bced4b29d
Summary: **History:** This component was originally introduced into React Native core in D52712758, to replace UIManagerModule.showPopupMenu(). **Problem:** But, React Native core should be lean. Adding this component to React Native bloats the core. **Changes:** So, this diff pulls PopupMenuAndroid out into its own package in the react-native GitHub repository. In the future, this will be migrated to a community package! Changelog: [Android][Removed] Move PopupMenu out of React Native core Reviewed By: NickGerleman Differential Revision: D53328110 fbshipit-source-id: 469d8dc3e756c06040c72e08fa004aafa1bd6e18
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
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(
|
|
":packages:react-native:ReactAndroid",
|
|
":packages:react-native:ReactAndroid:hermes-engine",
|
|
":packages:react-native:ReactAndroid:external-artifacts",
|
|
":packages:react-native-popup-menu-android:android",
|
|
":packages:rn-tester:android:app")
|
|
|
|
includeBuild("packages/react-native-gradle-plugin/")
|
|
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
create("libs") { from(files("packages/react-native/gradle/libs.versions.toml")) }
|
|
}
|
|
}
|
|
|
|
rootProject.name = "react-native-github"
|
|
|
|
plugins {
|
|
id("com.gradle.enterprise").version("3.7.1")
|
|
id("org.gradle.toolchains.foojay-resolver-convention").version("0.5.0")
|
|
}
|
|
|
|
// If you specify a file inside gradle/gradle-enterprise.gradle.kts
|
|
// you can configure your custom Gradle Enterprise instance
|
|
if (File("./gradle/gradle-enterprise.gradle.kts").exists()) {
|
|
apply(from = "./gradle/gradle-enterprise.gradle.kts")
|
|
}
|