mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e50e554039
Summary: This moves the `helloworld` app to build from the artifacts produced by build_npm_package so that we don't rebuild ReactNative Android from source 8 times. It reduces build time of such jobs from 14mins to 4mins, resulting in 80mins of build time for every test_all run. ## Changelog: [INTERNAL] - Move helloworld to build from artifacts on Android Pull Request resolved: https://github.com/facebook/react-native/pull/45517 Test Plan: CI Reviewed By: blakef Differential Revision: D59957613 Pulled By: cortinico fbshipit-source-id: b6c4adcf804af6c8d2661cf56549d037e09aa2c1
17 lines
551 B
Groovy
17 lines
551 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("../../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')
|