Skip to content

Instantly share code, notes, and snippets.

@TomGranot
Created March 5, 2019 18:04
Show Gist options
  • Save TomGranot/d70ee569fd50e797fdd0ab4637ca3ddf to your computer and use it in GitHub Desktop.
Save TomGranot/d70ee569fd50e797fdd0ab4637ca3ddf to your computer and use it in GitHub Desktop.
Config.yml part 5
- run:
name: Approve SDK Licenses
# Captures SIGPIPE 141 error but still allow repeating "y" to accept all licenses
command: yes | sdkmanager --licenses || if [ $? -ne '141' ]; then exit $?; fi;
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment