BobStore/ant-prepare.sh
Daniel Martí b3107eb6b2 Fix gradle support while keeping ant support
Most of this was done by pserwylo on his branch feature/gradle. The only thing
left is merging the fixes into nanohttpd.
2014-05-18 12:55:30 +02:00

17 lines
620 B
Bash
Executable File

#!/bin/bash -ex
android update lib-project --path extern/UniversalImageLoader/library
android update lib-project --path extern/AndroidPinning
android update lib-project --path extern/MemorizingTrustManager
android update lib-project --path extern/nanohttpd/core
android update lib-project --path extern/libsuperuser/libsuperuser
android update project --path . --name F-Droid
{ echo -e "\nSuccessfully updated the main project.\n"; } 2>/dev/null
# technically optional, needed for the tests
cd test
android update test-project --path . --main ..
{ echo -e "\nSuccessfully updated the test project.\n"; } 2>/dev/null