From 4363e12056b30ea54cd8ec5ade54f4802f3725f0 Mon Sep 17 00:00:00 2001 From: NicLJR Date: Fri, 17 Feb 2023 15:27:57 +0800 Subject: [PATCH] JAR-Release Updates --- DukeData/tasks.txt | 2 -- build.gradle | 38 ++++++++++++++++++++++---------------- docs/README.md | 2 +- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/DukeData/tasks.txt b/DukeData/tasks.txt index 672b7efe38..e69de29bb2 100644 --- a/DukeData/tasks.txt +++ b/DukeData/tasks.txt @@ -1,2 +0,0 @@ -T|1|borrow book|2023-02-14 1335 -D|1|cs2102 assignment |2022-02-25 2359|2023-02-14 1335 diff --git a/build.gradle b/build.gradle index 4ead9fcaad..a9dcd3e7cd 100644 --- a/build.gradle +++ b/build.gradle @@ -16,21 +16,6 @@ checkstyle { dependencies { testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.5.0' testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.5.0' - - String javaFxVersion = '11' - - implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win' - implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac' - implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux' - implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win' - implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac' - implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux' - implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win' - implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac' - implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux' - implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win' - implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac' - implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux' } test { @@ -48,7 +33,7 @@ test { } application { - mainClassName = "seedu.duke.Duke" + mainClassName = "duke.Launcher" } shadowJar { @@ -59,3 +44,24 @@ shadowJar { run{ standardInput = System.in } + +repositories { + mavenCentral() +} + +dependencies { + String javaFxVersion = '11' + + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-base', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-controls', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-fxml', version: javaFxVersion, classifier: 'linux' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'win' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'mac' + implementation group: 'org.openjfx', name: 'javafx-graphics', version: javaFxVersion, classifier: 'linux' +} diff --git a/docs/README.md b/docs/README.md index 5916819521..7b37e91c42 100644 --- a/docs/README.md +++ b/docs/README.md @@ -16,7 +16,7 @@ You can add different types of tasks: You can mark tasks as completed when you are done with them. You can also unmark tasks, indicating uncompleted tasks. - +c ### Feature-Delete Tasks You can delete tasks as and when you wish!