Skip to content

Commit

Permalink
Merge pull request #23 from wordpress-mobile/bump-react-native-0.71.8
Browse files Browse the repository at this point in the history
Bump `react-native`  to version `0.71.8`
  • Loading branch information
fluiddot committed Jun 13, 2023
2 parents c52ebc9 + f76aaf6 commit 3afecbd
Show file tree
Hide file tree
Showing 3 changed files with 1,947 additions and 1,896 deletions.
12 changes: 10 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import org.json.JSONObject
// Although this allows different clients to use different artifacts, since we only have one client
// this is now the most important use case for this implementation. Instead, this implementation
// aims to make it easier to test publisher changes without having to override the artifacts.
val publisherVersion = "v2"
val publisherVersion = "v3"

plugins {
id("com.android.library") apply false
Expand Down Expand Up @@ -64,8 +64,16 @@ subprojects {
configurations.all {
resolutionStrategy {
dependencySubstitution {
// This substitution is based on React Native Gradle plugin.
// Reference: https://t.ly/38jk
substitute(module("com.facebook.react:react-android"))
.with(module("com.facebook.react:react-android:$reactNativeVersion"))
substitute(module("com.facebook.react:hermes-android"))
.with(module("com.facebook.react:hermes-android:$reactNativeVersion"))
// For backward-compatibility, we also substitute `react-native` module
// with the new module `react-android`.
substitute(module("com.facebook.react:react-native"))
.with(module("com.facebook.react:react-native:$reactNativeVersion"))
.with(module("com.facebook.react:react-android:$reactNativeVersion"))
}
}
}
Expand Down
Loading

0 comments on commit 3afecbd

Please sign in to comment.