setup-java
setup-java copied to clipboard
Docs: Add config instructions on JavaFX Maven project
Description
I have found that issue #18 and PR #27 enabled the action to work on JavaFX projects, but it seems that this part lacks some documentation.
This would be very helpful if README can have more explicit record on it.
Are you willing to submit a PR?
Unfortunately, I have not completely figure out how to make it work.
My understanding is, for a JavaFX project using Maven:
- Add
javafx-maven-plugininpom.xmlaccording to Getting Started with JavaFX - Config the ci file as follows:
distribution: 'zulu'
cache: maven
java-package: jdk+fx
- Use
mvn compileormvn javafx:runto compile/run the project in CI
If this is correct and nothing was missing, I'm glad to help.
Additionally, I'm not sure why using other distribusion of jdk cannot work, even maven can download JavaFX dependencies automatically.
Hi, @LingkKang 👋 Thanks for the issue, we will take a look and get back to you with updates.