rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Visible java icon in mac os dock when building kotlin project

Open oliviernotteghem opened this issue 9 months ago • 1 comments

This is most likely due to non running java command in headless mode on one of the actions created by kotlin rules.

Image

oliviernotteghem avatar May 23 '25 22:05 oliviernotteghem

You can work around this by doing:

# Avoid popping up the Java GUI in the macos dock
build --host_jvmopt="-Dapple.awt.UIElement=true" --jvmopt="-Dapple.awt.UIElement=true"

Upstream Bazel should probably just pass these flags by defualt.

Bencodes avatar May 29 '25 23:05 Bencodes