commit:     b498da2bc56db0c5f9ba6ee376498dd767d433c2
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 10:53:22 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 10:53:22 2023 +0000
URL:        https://gitweb.gentoo.org/proj/java.git/commit/?id=b498da2b

gradle.eclass: respect existing JAVA_TOOL_OPTIONS

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/gradle.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/gradle.eclass b/eclass/gradle.eclass
index 1461afad..488c265d 100644
--- a/eclass/gradle.eclass
+++ b/eclass/gradle.eclass
@@ -137,7 +137,7 @@ egradle() {
                gradle_args+=( --parallel )
        fi
 
-       local -x JAVA_TOOL_OPTIONS="-Duser.home=\"${T}\""
+       local -x JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS} -Duser.home=\"${T}\""
        # TERM needed, otherwise gradle may fail on terms it does not know about
        TERM=xterm \
                edo \

Reply via email to