-
-
Save brunodles/ca4c5fb485dcaf808291 to your computer and use it in GitHub Desktop.
Codeship Setup Commands for Android Gradle Build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://dl.google.com/android/android-sdk_r24.3-linux.tgz | |
tar xvzf android-sdk_r24.3-linux.tgz | |
rm android-sdk_r24.3-linux.tgz | |
export ANDROID_HOME=$PWD/android-sdk-linux | |
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH" | |
echo "y" | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-22.0.1,android-22,extra-google-m2repository,extra-google-google_play_services,extra-android-support,139 | |
cd - | |
touch local.properties | |
echo "sdk.dir=$ANDROID_HOME" >> local.properties | |
# ./gradlew clean | |
./gradlew assembleProdRelease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment