diff --git a/README.md b/README.md index e59ee66..c431332 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/pom.xml b/pom.xml index 5ef8aa7..1b93e9b 100644 --- a/pom.xml +++ b/pom.xml @@ -56,6 +56,14 @@ + + org.openjfx + javafx-maven-plugin + 0.0.1 + + com.charego.freecell.FreeCellApplication + + org.codehaus.mojo exec-maven-plugin diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 2c093a2..15df23c 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -1,3 +1,5 @@ module com.charego.freecell { requires javafx.controls; + + exports com.charego.freecell to javafx.graphics; }