summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-26 14:46:16 +0100
committercyBerta <cyberta@riseup.net>2021-11-26 14:46:16 +0100
commit046317d01fae9738bf9ade046ad20a0fc61946cc (patch)
tree2625c343e15238828713418ea1ef0c737c8e5d31
parent50bcfa80a76681611fc38cc04650692480896f39 (diff)
always stop gradle deamon after calling gradlew in a submodule
-rwxr-xr-xscripts/build_deps.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build_deps.sh b/scripts/build_deps.sh
index 470b39b6..fe7d1708 100755
--- a/scripts/build_deps.sh
+++ b/scripts/build_deps.sh
@@ -50,6 +50,7 @@ else
then
./tor-droid-make.sh fetch -c || quit "failed to checkout tor dependencies"
./tor-droid-make.sh build -b release || quit "failed to build tor release binaries"
+ ./gradlew --stop
else
quit "expected NDK VERSION: $EXPECTED_NDK_VERSION. But found: $NDK_VERSION"
fi
@@ -64,6 +65,7 @@ else
echo "Clean build: starting externalNativeBuild"
cd ./ics-openvpn || quit "Directory ics-opevpn not found"
./gradlew clean main:externalNativeBuildCleanSkeletonRelease main:externalNativeBuildSkeletonRelease --debug --stacktrace || quit "Build ics-openvpn native libraries failed"
+ ./gradlew --stop
cd ..
fi