Commit 1c7ca95b authored by Max Lv's avatar Max Lv

update setup scripts

parent 99ff552a
before_cache:
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2/ -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "*.lock" | xargs rm
cache:
directories:
......
......@@ -14,12 +14,16 @@ if [ ! -d "$ANDROID_HOME" ]
pushd $HOME/.android
wget -q http://dl.google.com/android/android-sdk_r24.3.4-linux.tgz
tar xf android-sdk_r24.3.4-linux.tgz
popd
fi
if [ ! -d "$ANDROID_NDK_HOME" ]
mkdir -p $ANDROID_NDK_HOME
pushd $HOME/.android
wget -q http://dl.google.com/android/ndk/android-ndk-r10d-linux-${ARCH}.bin
chmod +x android-ndk-r10d-linux-${ARCH}.bin
./android-ndk-r10d-linux-${ARCH}.bin -y &> /dev/null
popd
fi
echo "y" | android update sdk --filter tools,platform-tools,build-tools-23.0.1,android-23,extra-google-m2repository
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment