Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3358874
D5549.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
861 B
Referenced Files
None
Subscribers
None
D5549.diff
View Options
diff --git a/native/android/build.gradle b/native/android/build.gradle
--- a/native/android/build.gradle
+++ b/native/android/build.gradle
@@ -29,6 +29,20 @@
allprojects {
repositories {
+ exclusiveContent {
+ // We get React Native's Android binaries exclusively through npm,
+ // from a local Maven repo inside node_modules/react-native/.
+ // (The use of exclusiveContent prevents looking elsewhere like Maven
+ // Central and potentially getting a wrong version.)
+ filter {
+ includeGroup "com.facebook.react"
+ }
+ forRepository {
+ maven {
+ url "$rootDir/../node_modules/react-native/android"
+ }
+ }
+ }
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 6:30 AM (19 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2578722
Default Alt Text
D5549.diff (861 B)
Attached To
Mode
D5549: [native] fix Android build by changing where we get React Native's Android binaries
Attached
Detach File
Event Timeline
Log In to Comment