We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0508778 commit 43bb546Copy full SHA for 43bb546
2 files changed
build.gradle
@@ -5,6 +5,7 @@ plugins {
5
id 'com.github.johnrengelman.shadow' version '5.1.0'
6
}
7
8
+
9
repositories {
10
mavenCentral()
11
@@ -44,12 +45,13 @@ test {
44
45
46
47
application {
- mainClassName = "seedu.duke.Duke"
48
+ project.setProperty("mainClassName", "duke.Launcher")
49
50
51
shadowJar {
- archiveBaseName = "duke"
52
- archiveClassifier = null
+ manifest {
53
+ attributes "Main-Class": 'duke.Launcher'
54
+ }
55
56
57
checkstyle {
src/main/java/duke/Duke.java
@@ -65,7 +65,7 @@ public String getResponse(String input) throws DukeException{
65
setTimeOut(() -> {
66
Platform.exit();
67
System.exit(0);
68
- }, 2000);
+ }, 1500);
69
70
return output;
71
} catch (DukeException e){
0 commit comments