mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL] Force dependencies resolution to minor series for 0.63
This commit is contained in:
@@ -354,3 +354,17 @@ afterEvaluate {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Patch needed for https://github.com/facebook/react-native/issues/35210
|
||||
// This is a patch to short-circuit the "+" dependencies inside the
|
||||
// users' app/build.gradle file and the various .gradle files of libraries.
|
||||
// As using plain "+" dependencies causes Gradle to always download the latest,
|
||||
// this logic forces Gradle to use latest release in the minor series.
|
||||
project.rootProject.allprojects {
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force "com.facebook.react:react-native:0.63.+"
|
||||
force "com.facebook.react:hermes-engine:0.63.+"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user