Skip to content

Commit

Permalink
Force dependencies resolution to minor series for 0.65
Browse files Browse the repository at this point in the history
  • Loading branch information
kelset committed Nov 6, 2022
1 parent 7eff4b6 commit 9548eae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions react.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -357,3 +357,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.65.+"
force "com.facebook.react:hermes-engine:0.65.+"
}
}
}

0 comments on commit 9548eae

Please sign in to comment.