Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hwww23] iP #467

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
55f9f9f
docs/README.md: Tweak document template
Jan 7, 2024
f837ddb
Add Gradle support
May 24, 2020
a6f7324
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
a9fa3cf
add level 0
Hwww23 Jan 24, 2024
0803155
add level 0
Hwww23 Jan 24, 2024
4b230ec
Merge remote-tracking branch 'origin/master'
Hwww23 Jan 24, 2024
1cfd914
add level 1
Hwww23 Jan 24, 2024
d78df2a
no message
Hwww23 Jan 24, 2024
2be1daa
add level 2
Hwww23 Jan 24, 2024
6e786ff
add level 3
Hwww23 Jan 25, 2024
c63f766
add level 4
Hwww23 Jan 25, 2024
98afa3b
testing actual vs expected
Hwww23 Jan 25, 2024
2e0b7a0
add level 5
Hwww23 Jan 25, 2024
0d8cd82
add level 6
Hwww23 Jan 25, 2024
2374953
add enum
Hwww23 Jan 25, 2024
f316b85
Add duke.txt
Hwww23 Feb 6, 2024
d4888e8
Merge branch 'branch-Level-7'
Hwww23 Feb 6, 2024
3907085
Update Duke.java
Hwww23 Feb 6, 2024
0407bb0
Merge branch 'branch-Level-8'
Hwww23 Feb 6, 2024
f08a093
Add Ui.java, Storage.java and Parser.java
Hwww23 Feb 7, 2024
ec88d65
no message
Hwww23 Feb 7, 2024
2022c05
Add checkstyle.xml, suppressions.xml
Hwww23 Feb 7, 2024
87756d6
Add duketest.txt, ParserTest.java and StorageTest.java
Hwww23 Feb 7, 2024
8ba35b0
Add Javadoc comments for code documentation
Hwww23 Feb 13, 2024
a6e1d6f
Update Deadline.java, Event.java, MyList.java, Parser.java, Storage.j…
Hwww23 Feb 13, 2024
ef1363a
Update Mylist.java, Parser.java, Task.java
Hwww23 Feb 14, 2024
b975d99
Merge branch 'branch-A-CodingStandard'
Hwww23 Feb 14, 2024
64a8626
Resolve merge conflicts in Parser.java
Hwww23 Feb 14, 2024
e4427c7
Update Mylist.java, ParserTest.java, StorageTest.java and build.gradle
Hwww23 Feb 14, 2024
8184505
Added GUI
Hwww23 Feb 14, 2024
c0aa472
Merge branch 'branch-Level-10'
Hwww23 Feb 14, 2024
a2ee707
Update README.md
Hwww23 Feb 14, 2024
5b8c236
Update README.md
Hwww23 Feb 14, 2024
50d9259
Update README.md
Hwww23 Feb 14, 2024
d2b327c
Update duke.txt
Hwww23 Feb 14, 2024
bbdc0b8
Update Duke.java and Storage.java
Hwww23 Feb 14, 2024
57bde4e
Update MyList.java, Storage.java
Hwww23 Feb 20, 2024
a981cbc
Merge pull request #2 from Hwww23/branch-A-Assertions
Hwww23 Feb 20, 2024
c367ce0
Add AddCommand.java, ByeCommand.java, Command.java,
Hwww23 Feb 20, 2024
c83962e
Update Storage.java
Hwww23 Feb 20, 2024
53bc042
Merge pull request #3 from Hwww23/branch-A-CodeQuality
Hwww23 Feb 20, 2024
a19afa4
Update README.md
Hwww23 Feb 20, 2024
4ce3bfc
Update README.md
Hwww23 Feb 20, 2024
b9c4d60
Add RecurringTask.java, TaskScheduler.java, RecurCommand.java and
Hwww23 Feb 20, 2024
7b04824
Update README.md
Hwww23 Feb 20, 2024
b8d4090
Update README.md
Hwww23 Feb 20, 2024
5904fd8
Add Ui.png
Hwww23 Feb 20, 2024
0ee8811
Update Ui.java and Main.java
Hwww23 Feb 20, 2024
ea93544
Update README.md
Hwww23 Feb 20, 2024
3b83ea6
Update README.md
Hwww23 Feb 20, 2024
2642eff
Update build.gradle
Hwww23 Feb 20, 2024
805e1bc
Update README.md
Hwww23 Feb 20, 2024
b9c7f36
Update README.md, Ui.png, duke.txt, Deadline.java, Event.java and
Hwww23 Feb 21, 2024
652143b
Fix jar
Hwww23 Mar 14, 2024
d264229
Fix jar
Hwww23 Mar 14, 2024
9bbc727
Update Parser.java and Duke.java
Hwww23 Mar 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 19 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
# Duke project template
## **PepegPro**
> “Your mind is for having ideas, not holding them.” – David Allen (source)

This is a project template for a greenfield Java project. It's named after the Java mascot _Duke_. Given below are instructions on how to use it.
DukePro frees your mind from having to remember things you need to do. It's,

## Setting up in Intellij
- text-based
- easy to learn
- ~~FAST~~SUPER FAST to use

Prerequisites: JDK 11, update Intellij to the most recent version.
All you need to do is,

1. Open Intellij (if you are not in the welcome screen, click `File` > `Close Project` to close the existing project first)
1. Open the project into Intellij as follows:
1. Click `Open`.
1. Select the project directory, and click `OK`.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (not other versions) as explained in [here](https://www.jetbrains.com/help/idea/sdk.html#set-up-jdk).<br>
In the same dialog, set the **Project language level** field to the `SDK default` option.
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()` (if the code editor is showing compile errors, try restarting the IDE). If the setup is correct, you should see something like the below as the output:
```
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
1. download it from [here](https://github.com/Hwww23/ip).
2. double-click it.
3. add your tasks.
4. let it manage your tasks for you 😉

And it is **FREE**!

Features:

- [x] Managing tasks
- [ ] Managing deadlines (coming soon)
- [ ] Reminders (coming soon)
62 changes: 62 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
//id 'checkstyle'
}

//checkstyle {
// toolVersion = '10.2'
//}


repositories {
mavenCentral()
}

dependencies {
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.10.0'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.10.0'

String javaFxVersion = '17.0.7'

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 {
useJUnitPlatform()

testLogging {
events "passed", "skipped", "failed"

showExceptions true
exceptionFormat "full"
showCauses true
showStackTraces true
showStandardStreams = false
}
}

application {
mainClass.set("duke.Launcher")
}

shadowJar {
archiveBaseName = "PepegPro"
}

run{
standardInput = System.in
}
Loading