Skip to content

Instantly share code, notes, and snippets.

@ecgreb
Created February 17, 2017 23:42
Show Gist options
  • Save ecgreb/366cf7ebebb3a43a6608144cf1077e52 to your computer and use it in GitHub Desktop.
Save ecgreb/366cf7ebebb3a43a6608144cf1077e52 to your computer and use it in GitHub Desktop.
dependencies:
pre:
- if [ ! -e /usr/local/android-sdk-linux/build-tools/25.0.2 ]; then echo y | android update sdk --all --no-ui --filter "build-tools-25.0.2"; fi;
- if [ ! -e /usr/local/android-sdk-linux/platforms/android-25 ]; then echo y | android update sdk --all --no-ui --filter "android-25"; fi;
- if ! $(grep -q "Revision=43.0.0" /usr/local/android-sdk-linux/extras/android/m2repository/source.properties); then echo y | android update sdk --all --no-ui --filter "extra-android-m2repository"; fi;
cache_directories:
- /usr/local/android-sdk-linux/build-tools/25.0.2
- /usr/local/android-sdk-linux/platforms/android-25
- /usr/local/android-sdk-linux/extras/android/m2repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment