Building a JavaFX application using Gradle

后端 未结 5 1211
予麋鹿
予麋鹿 2020-12-29 19:38

I\'m trying to build a relatively simple JavaFX application using Gradle. However, I have no idea how to do it.

I\'m relatively new to Gradle, and for simple (non-

5条回答
  •  生来不讨喜
    2020-12-29 20:22

    Here's an example Gradle JavaFX build on GitHub. Note that according to Bintray, the latest version of the plugin is 8.1.1, so replace the '0.3.0' in the plugin URL with '8.1.1' if you want the latest.

    Just to be clear, this is a very unusual way to distribute a Gradle plugin. Most are much easier to incorporate in a build!

    Edit: up-to-date fork that works using "apply plugin" https://github.com/FibreFoX/javafx-gradle-plugin

提交回复
热议问题