Index: vagrant-build.sh |
diff --git a/vagrant-build.sh b/vagrant-build.sh |
index d1c97e7f8516db830de3bfd52995afa5e42de182..94517b7d5561f9ae4430649102203f4662789b4b 100755 |
--- a/vagrant-build.sh |
+++ b/vagrant-build.sh |
@@ -3,20 +3,21 @@ |
set -e |
export ANDROID_HOME="/home/vagrant/android-sdk-linux" |
-mkdir -p build && cd build |
+rm -rf ./build/src |
+mkdir -p ./build/src && cd ./build/src |
# BEG: WIP and temporary sync step |
+echo "Copying project files..." |
cp -rf /vagrant/. . |
rm -fv `find . -name local.properties` |
# END: WIP and temporary sync step |
./ensure_dependencies.py |
-cd libadblockplus-android |
- |
echo "sdk.dir = /home/vagrant/android-sdk-linux" > local.properties |
echo "ndk.dir = /home/vagrant/android-ndk-linux" >> local.properties |
-cp local.properties ../libadblockplus-android-tests |
-mvn clean install |
+echo "Building..." |
+./gradlew assemble |
+echo "Done" |