We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eef9542 commit 667f1bdCopy full SHA for 667f1bd
1 file changed
react.gradle
@@ -355,10 +355,14 @@ afterEvaluate {
355
// As using plain "+" dependencies causes Gradle to always download the latest,
356
// this logic forces Gradle to use latest release in the minor series.
357
project.rootProject.allprojects {
358
- configurations.all {
359
- resolutionStrategy {
360
- force "com.facebook.react:react-native:0.64.+"
361
- force "com.facebook.react:hermes-engine:0.64.+"
+ // This extra afterEvaluate is needed due to how AGP 4.1.x is resolving
+ // Gradle configurations.
+ afterEvaluate {
+ configurations.all {
362
+ resolutionStrategy {
363
+ force "com.facebook.react:react-native:0.64.+"
364
+ force "com.facebook.react:hermes-engine:0.64.+"
365
+ }
366
}
367
368
0 commit comments