mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
1cb0a3342a
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43068 This diff adds `react-native-test-library` package. It contains native module and native component example, and targets both the new and the old architecture. It has structure similar to many OSS React Native libraries, and is supposed to be used to test the integration with third-party libraries. It is integrated with RNTester as the **OSS Library Example** screen. {F1457510909} **Change Background** tests native commands. **Set Opacity** tests native props. **Get Random Number** tests native module. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D50793835 fbshipit-source-id: ff6daefab10e6e9f13049e3013f8f63cfa8a929e
44 lines
1.2 KiB
Plaintext
44 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:react-native-test-library: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")
|
|
}
|