Skip to content

Commit

Permalink
Change gradle build to use Launcher as main class
Browse files Browse the repository at this point in the history
Main class was set to Bob so the GUI would not work

Changing main class to Launcher allows it to be the entry point of the application
  • Loading branch information
quelinxiao committed Feb 25, 2024
1 parent 739b3b3 commit a7ecb65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ test {
}

application {
mainClass.set("seedu.duke.Duke")
mainClass.set("bob.Launcher")
}

shadowJar {
archiveBaseName = "duke"
archiveBaseName = "bob"
archiveClassifier = null
dependsOn("distZip", "distTar")
}
Expand Down

0 comments on commit a7ecb65

Please sign in to comment.