Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.gradle: add javafx runtime dependency for other platforms
We have added the platform specific javafx runtime dependency, so the addressbook is able to run locally. However, the jar file generated on one OS cannot run on other OS. The reason is that, java SE cannot initialize the graph render correctly without corresponding javafx dependency for the other OS. Let’s add the javafx runtime dependency for all platforms (MacOS, Window, Linux) so the jar file generated on one OS is able to run in other OS [1]. The order of dependency is important because it effects the way Gradle group dependency tree. [1]https://stackoverflow.com/questions/52653836/maven-shade-javafx-runtime-components-are-missing/52654791#52654791
- Loading branch information