Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created May 16, 2017 12:03
Show Gist options
  • Save sibelius/0a5403a2b5e9dd9ed9d98078a1523a18 to your computer and use it in GitHub Desktop.
Save sibelius/0a5403a2b5e9dd9ed9d98078a1523a18 to your computer and use it in GitHub Desktop.
Upgrade all node_modules dependencies do android 25
#!/usr/bin/env bash
find node_modules -name 'build.gradle' -print -exec sed -i.bak -E 's/compileSdkVersion[[:space:]]+23/compileSdkVersion 25/g' {} \;
find node_modules -name 'build.gradle' -print -exec sed -i.bak -E 's/buildToolsVersion[[:space:]]+"23.0.1"/buildToolsVersion "25.0.1"/g' {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment