When the report compilation runs, it exposes a Java icon on the MacOS dock. When using the gradle daemon, the icon will stay as long as the gradle daemon is alive.
The compilation needs to set the -Dapple.awt.UIElement=true on whatever process is being forked to do the compilation.
Setting the global export JAVA_TOOL_OPTIONS="-Dapple.awt.UIElement=true" does fix the problem, but is probably not the best solution since some apps may want to be on the dock.
When the report compilation runs, it exposes a Java icon on the MacOS dock. When using the gradle daemon, the icon will stay as long as the gradle daemon is alive.
The compilation needs to set the
-Dapple.awt.UIElement=true
on whatever process is being forked to do the compilation.Setting the global
export JAVA_TOOL_OPTIONS="-Dapple.awt.UIElement=true"
does fix the problem, but is probably not the best solution since some apps may want to be on the dock.