Skip to content

Commit

Permalink
Merge pull request #12510 from Expensify/jules-resolveAndroidBuildIssue
Browse files Browse the repository at this point in the history
[NO-QA] Resolve upstream ReactNative android build blocker

(cherry picked from commit e50d8f4)
  • Loading branch information
luacmartins authored and OSBotify committed Nov 7, 2022
1 parent a50cb30 commit e337f6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android/build.gradle
Expand Up @@ -42,6 +42,10 @@ allprojects {
configurations.all {
resolutionStrategy {
force 'org.xerial:sqlite-jdbc:3.34.0'

// Manually set the react-native version to resolve this upstream issue: https://github.com/facebook/react-native/issues/35210
def REACT_NATIVE_VERSION = new File(['node', '--print',"JSON.parse(require('fs').readFileSync(require.resolve('react-native/package.json'), 'utf-8')).version"].execute(null, rootDir).text.trim())
force "com.facebook.react:react-native:" + REACT_NATIVE_VERSION
}
}
repositories {
Expand Down

0 comments on commit e337f6f

Please sign in to comment.