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
359 stars 62 forks source link

Support Monocle builds #165

Open craigraw opened 8 months ago

craigraw commented 8 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