Browse files

Explaining how to package ReactNative for Nexus/Maven deployment.


I needed to do this today. It's explained in code in the repository, but not included in the actual documentation. As React Native continues to grow, this is something that will be used more and more by the community.

**Test plan (required)**

No test plan required, this is simply a documentation change to add things that are only explained in code comments currently.
Closes #12938

Differential Revision: D4709339

Pulled By: mkonicek

fbshipit-source-id: a56c7573c3fa25a4059657b95b482b641ff229ff
  • Loading branch information...
MattFoley authored and facebook-github-bot committed Mar 14, 2017
1 parent 957b55c commit a0b5a6efe55f5413048c6a752ba4e90c79ac7137
Showing with 12 additions and 0 deletions.
  1. +12 −0 docs/
@@ -143,6 +143,18 @@ gradle.projectsLoaded {
## Building for Maven/Nexus deployment
If you find that you need to push up a locally compiled React Native .aar and related files to a remote Nexus repository, you can.
Start by following the `Point Gradle to your Android SDK` section of this page. Once you do this, assuming you have Gradle configured properly, you can then run the following command from the root of your React Native checkout to build and package all required files:
./gradlew ReactAndroid:installArchives
This will package everything that would typically be included in the `android` directory of your `node_modules/react-native/` installation in the root directory of your React Native checkout.
## Testing
If you made changes to React Native and submit a pull request, all tests will run on your pull request automatically. To run the tests locally, see [Testing](docs/testing.html).

0 comments on commit a0b5a6e

Please sign in to comment.