mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
1f62529dc4
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47388 Fixes https://github.com/facebook/react-native/issues/47364 Fixes https://github.com/facebook/react-native/issues/47377 Fixes https://github.com/facebook/react-native/issues/37124 We're having problems is a path contains a space ' ' because when autolinking, the `add_subdirectory()` function of CMake consider the path with space as 2 parameters. This fixes it by properly quoting the path. Changelog: [Android] [Fixed] - Properly handle paths with spaces in autolinking Reviewed By: cipolleschi Differential Revision: D65434413 fbshipit-source-id: b9147482f98f7e222405cc8d9e6f3c17a5f4ed02 |
||
---|---|---|
.. | ||
gradle | ||
react-native-gradle-plugin | ||
settings-plugin | ||
shared | ||
shared-testutil | ||
.gitignore | ||
build.gradle.kts | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
package.json | ||
README.md | ||
settings.gradle.kts |
@react-native/gradle-plugin
A Gradle Plugin used to support development of React Native applications for Android.
Installation
yarn add @react-native/gradle-plugin
Note: We're using yarn
to install deps. Feel free to change commands to use npm
3+ and npx
if you like
Testing
To run the tests in this package, run the following commands from the React Native root folder:
yarn
to install the dependencies. You just need to run this once./gradlew -p packages/gradle-plugin test
.