Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Mobile - Fix dynamic React Native version
  • Loading branch information
Gerardo committed Aug 8, 2022
commit 95ae8d4e14994397b2e6c7d83faf0eafd59dec01
5 changes: 3 additions & 2 deletions packages/react-native-editor/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,17 @@ android {
}

dependencies {
def packageJson = '../../package.json'

implementation("org.wordpress-mobile.gutenberg-mobile:react-native-bridge", {
exclude group: 'org.wordpress', module: 'utils'
})
implementation 'androidx.appcompat:appcompat:1.2.0'
//noinspection GradleDynamicVersion
implementation "com.facebook.react:react-native:+" // From node_modules
implementation "com.facebook.react:react-native:${extractPackageVersion(packageJson, 'react-native', 'dependencies')}" // From node_modules

implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"

def packageJson = '../../package.json'
implementation "org.wordpress-mobile:react-native-svg:${extractPackageVersion(packageJson, 'react-native-svg', 'dependencies')}"
implementation "com.github.wordpress-mobile:react-native-video:${extractPackageVersion(packageJson, 'react-native-video', 'dependencies')}"
implementation "com.github.wordpress-mobile:react-native-linear-gradient:${extractPackageVersion(packageJson, 'react-native-linear-gradient', 'dependencies')}"
Expand Down