Skip to content

Commit 28cc286

Browse files
committed
[LOCAL] Force dependencies resolution to minor series for 0.63
1 parent 1ed7d57 commit 28cc286

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

react.gradle

+14
Original file line numberDiff line numberDiff line change
@@ -354,3 +354,17 @@ afterEvaluate {
354354
}
355355
}
356356
}
357+
358+
// Patch needed for https://github.com/facebook/react-native/issues/35210
359+
// This is a patch to short-circuit the "+" dependencies inside the
360+
// users' app/build.gradle file and the various .gradle files of libraries.
361+
// As using plain "+" dependencies causes Gradle to always download the latest,
362+
// this logic forces Gradle to use latest release in the minor series.
363+
project.rootProject.allprojects {
364+
configurations.all {
365+
resolutionStrategy {
366+
force "com.facebook.react:react-native:0.63.+"
367+
force "com.facebook.react:hermes-engine:0.63.+"
368+
}
369+
}
370+
}

0 commit comments

Comments
 (0)