Add openjfx maven plugin
This commit is contained in:
parent
809ca45b75
commit
f2f0151dfb
@ -7,6 +7,8 @@ Prerequisites:
|
|||||||
|
|
||||||
To start a game, run the command `mvn exec:java`
|
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:
|
Controls:
|
||||||
|
|
||||||
- F2 to restart
|
- F2 to restart
|
||||||
|
8
pom.xml
8
pom.xml
@ -56,6 +56,14 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
<plugin>
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
<artifactId>exec-maven-plugin</artifactId>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
module com.charego.freecell {
|
module com.charego.freecell {
|
||||||
requires javafx.controls;
|
requires javafx.controls;
|
||||||
|
|
||||||
|
exports com.charego.freecell to javafx.graphics;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user