Added new Android licenses to accept through parameter in version 2 of android-sdk-installer

This commit is contained in:
David A. Velasco 2014-06-27 14:15:04 +02:00
parent 3b0cf59ea3
commit 8bdf932ee0

View file

@ -4,8 +4,9 @@ before_install:
# Install base Android SDK
- sudo apt-get update -qq
- sudo apt-get install -qq libstdc++6:i386 lib32z1 expect
- export COMPONENTS=build-tools-18.1.0,android-14,android-17,android-19,sysimg-19,extra-android-support
- curl -3L https://raw.github.com/embarkmobile/android-sdk-installer/version-2/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS
- set COMPONENTS="build-tools-18.1.0,android-14,android-17,android-19,sysimg-19,extra-android-support"
- set LICENSES="android-sdk-license-5be876d5|android-sdk-license-598b93a6"
- curl -3L https://raw.github.com/embarkmobile/android-sdk-installer/version-2/android-sdk-installer | bash /dev/stdin --install=$COMPONENTS --accept=$LICENSES
- source ~/.android-sdk-installer/env
- rm pom.xml
- ./setup_env.sh