From a52de9ccb7b451bd18bf5a83f832add4f69e494c Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Thu, 28 Sep 2023 21:59:58 +0200 Subject: [PATCH] silence gradle on run --- run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.sh b/run.sh index cf66152e..dd45cba0 100644 --- a/run.sh +++ b/run.sh @@ -117,14 +117,14 @@ if [[ ${MODE} == "FOREGROUND" ]]; then while [[ ${EXIT_CODE} -eq 200 ]]; do # Restart as long as we have a exit code of 200, this allows the application to restart itself #startHal - ./gradlew ${GRADLE_COLOR} run + ./gradlew ${GRADLE_COLOR} --warning-mode none run EXIT_CODE=$? done elif [[ ${MODE} == "BACKGROUND" ]]; then # Kill current session screen -S hal -X kill # Start new session - screen -S hal -L -d -m $(dirname "$0")/run.sh --foreground --no-color + screen -S hal -L -d -m "$(dirname "$0")/run.sh" --foreground --no-color echo "-------------------------" screen -list