From c46faed64585059f007024c75fd2aea8badfd635 Mon Sep 17 00:00:00 2001 From: wongwh2002 Date: Sat, 28 Sep 2024 15:20:10 +0800 Subject: [PATCH] moved to gradle --- .gitignore | 52 ++-- .idea/.gitignore | 8 + .idea/gradle.xml | 11 + .idea/misc.xml | 7 + CONTRIBUTORS.md | 9 - README.md | 180 -------------- build.gradle.kts | 26 ++ docs/ProductScreenshot.jpg | Bin 29333 -> 0 bytes docs/README.md | 197 --------------- docs/_config.yml | 5 - gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 60756 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 234 ++++++++++++++++++ gradlew.bat | 89 +++++++ settings.gradle.kts | 2 + src/main/Data/tasks.txt | 2 - src/main/java/Classes/Constants.java | 2 +- src/main/java/Classes/TaskList.java | 28 ++- .../Exceptions/DescriptionEmptyException.java | 6 +- .../Exceptions/MissingDatesException.java | 5 + text-ui-test/EXPECTED.TXT | 34 --- text-ui-test/input.txt | 7 - text-ui-test/ip.txt | 6 - text-ui-test/runtest.bat | 21 -- text-ui-test/runtest.sh | 38 --- text-ui-test/test.txt | 34 --- 26 files changed, 451 insertions(+), 558 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/gradle.xml create mode 100644 .idea/misc.xml delete mode 100644 CONTRIBUTORS.md delete mode 100644 README.md create mode 100644 build.gradle.kts delete mode 100644 docs/ProductScreenshot.jpg delete mode 100644 docs/README.md delete mode 100644 docs/_config.yml create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat create mode 100644 settings.gradle.kts delete mode 100644 src/main/Data/tasks.txt delete mode 100644 text-ui-test/EXPECTED.TXT delete mode 100644 text-ui-test/input.txt delete mode 100644 text-ui-test/ip.txt delete mode 100644 text-ui-test/runtest.bat delete mode 100755 text-ui-test/runtest.sh delete mode 100644 text-ui-test/test.txt diff --git a/.gitignore b/.gitignore index 7d664988c..b63da4551 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,42 @@ -# IDEA files -/.idea/ -/out/ -/*.iml -*.class +.gradle +build/ +!gradle/wrapper/gradle-wrapper.jar +!**/src/main/**/build/ +!**/src/test/**/build/ -# Gradle build files -/.gradle/ -/build/ -src/main/resources/docs/ - -# MacOS custom attributes files created by Finder -.DS_Store +### IntelliJ IDEA ### +.idea/modules.xml +.idea/jarRepositories.xml +.idea/compiler.xml +.idea/libraries/ +*.iws *.iml +*.ipr +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ -/text-ui-test/ACTUAL.TXT -text-ui-test/EXPECTED-UNIX.TXT +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 000000000..13566b81b --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml new file mode 100644 index 000000000..9d62f93ac --- /dev/null +++ b/.idea/gradle.xml @@ -0,0 +1,11 @@ + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 000000000..87a20fc38 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md deleted file mode 100644 index 8e359a014..000000000 --- a/CONTRIBUTORS.md +++ /dev/null @@ -1,9 +0,0 @@ -# Contributors - -Display | Name | Github Profile | Homepage ----|:---:|:---:|:---: -![](https://avatars0.githubusercontent.com/u/22460123?s=100) | Jeffry Lum | [Github](https://github.com/j-lum/) | [Homepage](https://se.kasugano.moe) -![](https://avatars0.githubusercontent.com/u/1673303?s=100) | Damith C. Rajapakse | [Github](https://github.com/damithc/) | [Homepage](https://www.comp.nus.edu.sg/~damithch/) -# I would like to join this list. How can I help the project - -For more information, please refer to our [contributor's guide](https://oss-generic.github.io/process/). diff --git a/README.md b/README.md deleted file mode 100644 index a71eca4bb..000000000 --- a/README.md +++ /dev/null @@ -1,180 +0,0 @@ -# Zuke User Guide - -![Product Screenshot](./docs/ProductScreenshot.jpg) - -Zuke is a task management application designed to help you keep track of your todos, deadlines, and events. With Zuke, -you can easily add, delete, and manage tasks, ensuring you stay organized and on top of your schedule. - -## Features - -### 1. Add a Todo Task - -To add a todo task, use the following command: - -```plaintext -todo -``` - -Example: - -```plaintext -todo read book -``` - -This command adds a todo task with the description `read book`. - -### 2. Add a Deadline Task - -To add a deadline task, use the following command: - -```plaintext -deadline /by -``` - -Example: - -```plaintext -deadline return book /by 2021/09/30 1800 -``` - -This command adds a deadline task with the description `return book` and the deadline `30th September 2021, 6:00 PM`. - -### 3. Add an Event Task - -To add an event task, use the following command: - -```plaintext -event /from