Skip to content

Commit 43bb546

Browse files
committed
Add A-Release
1 parent 0508778 commit 43bb546

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
id 'com.github.johnrengelman.shadow' version '5.1.0'
66
}
77

8+
89
repositories {
910
mavenCentral()
1011
}
@@ -44,12 +45,13 @@ test {
4445
}
4546

4647
application {
47-
mainClassName = "seedu.duke.Duke"
48+
project.setProperty("mainClassName", "duke.Launcher")
4849
}
4950

5051
shadowJar {
51-
archiveBaseName = "duke"
52-
archiveClassifier = null
52+
manifest {
53+
attributes "Main-Class": 'duke.Launcher'
54+
}
5355
}
5456

5557
checkstyle {

src/main/java/duke/Duke.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public String getResponse(String input) throws DukeException{
6565
setTimeOut(() -> {
6666
Platform.exit();
6767
System.exit(0);
68-
}, 2000);
68+
}, 1500);
6969
}
7070
return output;
7171
} catch (DukeException e){

0 commit comments

Comments
 (0)