-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use
rootProject
directly in Gradle scripts
Summary: While testing with the RN Nightly versions, I realized we pushed two changes recently that are not working fine with the gradle setup of our users. That's becuase we're referencing the `rootProject` directly. `rootProject` should never be used directly as it resolves to: - The root of the git repo of `react-native` when building the RN project (so `./ReactCommon` exists there). - The /android folder of users' project when building an app that uses RN (so `./ReactCommon` does not exists there). Changelog: [Android] [Fixed] - Do not use `rootProject` directly in Gradle scripts Reviewed By: sshic Differential Revision: D35444967 fbshipit-source-id: be0508480a08224302168804b6feb52fd604d8db
- Loading branch information
1 parent
f8d7e0a
commit b2bc5aa
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters