This is a minimal replacement for the official JavaFX plugin. The only functionality provided is adding Maven dependencies. Transitive module dependencies are added automatically as well.
javafx {
modules(19, listOf(
"javafx.web",
"javafx.fxml"
))
}