Skip to content

Commit

Permalink
Stop gradle before cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Jun 17, 2024
1 parent 69b4767 commit 78ca181
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions android/scripts/update-lockfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ TEMP_GRADLE_HOME_DIR=$(mktemp -d)
TEMP_GRADLE_PROJECT_CACHE_DIR=$(mktemp -d)

function cleanup {
echo "Stopping gradle..."
../gradlew -q --stop
echo "Cleaning up temp dirs..."
rm -rf -- "$TEMP_GRADLE_HOME_DIR" "$TEMP_GRADLE_PROJECT_CACHE_DIR"
}
Expand Down

0 comments on commit 78ca181

Please sign in to comment.