Skip to content

Commit

Permalink
Merge pull request #1786 from wordpress-mobile/harcode_RN_version_for…
Browse files Browse the repository at this point in the history
…_bridge_and_aztec

Hardcode Android RN version in bridge and aztec
  • Loading branch information
mchowning authored Jan 20, 2020
2 parents a722048 + f031379 commit 2f87d55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion react-native-aztec/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@ dependencies {
if (rootProject.ext.buildGutenbergFromSource) {
implementation "com.facebook.react:react-native:+" // From node_modules.
} else {
def rnVersion = readReactNativeVersion('../package.json', 'peerDependencies')

// FIXME Temporary fix to get Jitpack builds to green while I work on a solution without hardcoded values.
//def rnVersion = readReactNativeVersion('../package.json', 'peerDependencies')
def rnVersion = '0.60.0-patched'
implementation "com.facebook.react:react-native:${rnVersion}" // From Maven repo
}
}
4 changes: 3 additions & 1 deletion react-native-gutenberg-bridge/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ dependencies {
implementation (waitJitpack('com.github.wordpress-mobile', 'react-native-video', readHashedVersion('../../package.json', 'react-native-video', 'dependencies')))
implementation (waitJitpack('com.github.wordpress-mobile', 'react-native-slider', readHashedVersion('../../package.json', '@react-native-community/slider', 'dependencies')))

def rnVersion = readReactNativeVersion('../package.json', 'peerDependencies')
// FIXME Temporary fix to get Jitpack builds to green while I work on a solution without hardcoded values.
//def rnVersion = readReactNativeVersion('../package.json', 'peerDependencies')
def rnVersion = '0.60.0-patched'
implementation "com.facebook.react:react-native:${rnVersion}"
}
}
Expand Down

0 comments on commit 2f87d55

Please sign in to comment.