No need in GRADLE_OPTS "-Dorg.gradle.daemon=true": it is by default in modern Gradle.
--- a/.env.bash Thu Sep 08 12:26:25 2022 +0300
+++ b/.env.bash Sun Nov 27 15:58:40 2022 +0200
@@ -84,20 +84,6 @@
export PYTHONSTARTUP=$HOME/.pystartup
-xopt='-Dorg.gradle.daemon=true'
-if [[ $GRADLE_OPTS != *${xopt}* ]]; then
- GRADLE_OPTS="$GRADLE_OPTS ${xopt}"
-fi
-# export GRADLE_OPTS="$GRADLE_OPTS -Dorg.gradle.console=plain"
-# if [[ $OSTYPE = cygwin ]]; then
-# xopt='-Dorg.gradle.console=verbose'
-# if [[ $GRADLE_OPTS != *${xopt}* ]]; then
-# GRADLE_OPTS="$GRADLE_OPTS ${xopt}"
-# fi
-# fi
-# GRADLE_OPTS="$GRADLE_OPTS -Djava.io.tmpdir=c:/tmp"
-export GRADLE_OPTS
-
if [[ :$PATH: != *:$HOME/.local/npm:* && $OSTYPE != cygwin ]]; then
export PATH=$PATH:$HOME/.local/npm
fi