Add openjfx maven plugin

This commit is contained in:
Charles Gould 2019-03-12 23:24:53 -04:00
parent 809ca45b75
commit f2f0151dfb
3 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,8 @@ Prerequisites:
To start a game, run the command `mvn exec:java`
Or (experimental with modules), run the command `mvn javafx:compile`, then `mvn javafx:run`
Controls:
- F2 to restart

View File

@ -56,6 +56,14 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.1</version>
<configuration>
<mainClass>com.charego.freecell.FreeCellApplication</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>

View File

@ -1,3 +1,5 @@
module com.charego.freecell {
requires javafx.controls;
exports com.charego.freecell to javafx.graphics;
}