Skip to content

Commit

Permalink
Gradle run shadow on duke.Main
Browse files Browse the repository at this point in the history
Duke starts on duke.Launcher instead of duke.Main due to JavaFX.

Let's update build.gradle to read from duke.Launcher.

Gradle can build Duke from duke.Launcher instead of duke.Main
  • Loading branch information
rexong committed Sep 7, 2022
1 parent b72fbb0 commit b705852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies {
}

application {
mainClassName = "duke.Main"
mainClassName = "duke.Launcher"
}

shadowJar {
Expand Down

0 comments on commit b705852

Please sign in to comment.