From 046317d01fae9738bf9ade046ad20a0fc61946cc Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 26 Nov 2021 14:46:16 +0100 Subject: always stop gradle deamon after calling gradlew in a submodule --- scripts/build_deps.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3