openjfx / javafx-gradle-plugin

Gradle plugin that makes it easy to work with JavaFX 11+
https://openjfx.io/
BSD 3-Clause "New" or "Revised" License
354 stars 62 forks source link

Support Monocle builds #165

Open craigraw opened 6 months ago

craigraw commented 6 months ago

This PR adds support for building JavaFX apps using Monocle, by detecting the system property java.awt.headless.

A monocle build can thus be made using (for example):

./gradlew -Djava.awt.headless=true run