Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d839859
Add Gradle support
May 24, 2020
9d7a480
Implemented Level-1
StanleyLG Aug 28, 2021
940bbca
Implemented Level-2
StanleyLG Aug 28, 2021
b133a99
Implemented Level-3
StanleyLG Sep 1, 2021
f88955e
Implemented Level-3
StanleyLG Sep 1, 2021
929d2ee
Implemented A-TextUiTesting
StanleyLG Sep 1, 2021
3112af4
Implemented Level-4
StanleyLG Sep 10, 2021
f707f3a
Implemented Level-5
StanleyLG Oct 1, 2021
069d47e
- Some code cleanup
StanleyLG Oct 2, 2021
cdf479b
Implemented Level 6
StanleyLG Oct 3, 2021
f381237
1. Source code tidying up
StanleyLG Oct 3, 2021
1872bfd
Save function, More OOP, Packages in Progress.
StanleyLG Oct 16, 2021
f256f68
1. Made ENUM into use
StanleyLG Oct 17, 2021
5ad6363
1. code cleanup
StanleyLG Oct 18, 2021
9f1c4df
1. code cleanup
StanleyLG Oct 20, 2021
9461d77
Implemented Level 8 Date and Time
StanleyLG Oct 23, 2021
6a2ede3
Implemented JavaDoc for all functions
StanleyLG Oct 23, 2021
f90e352
Merge remote-tracking branch 'origin/add-gradle-support'
StanleyLG Oct 23, 2021
033a203
Added Gradle Support[minimal]
StanleyLG Oct 23, 2021
7ce30b6
Added Gradle Support[Recommended]
StanleyLG Oct 23, 2021
2a5ae14
Added tags for Gradle Support[Recommended]
StanleyLG Oct 23, 2021
10b717c
Added fixed duration tasks feature
StanleyLG Oct 26, 2021
4eed24c
Added Level-9 Find
StanleyLG Oct 26, 2021
b1817aa
Coding Standard Improvement
StanleyLG Oct 28, 2021
2916d0d
Coding Quality Improvement
StanleyLG Oct 28, 2021
d7e8ec6
Additional-ViewSchedule
StanleyLG Oct 29, 2021
26c470b
Asserts at important check points.
StanleyLG Oct 30, 2021
2b50cf0
Touch up
StanleyLG Nov 5, 2021
e7f4bf2
Fixed certain bugs after creating JAR file
StanleyLG Nov 5, 2021
6bad20e
Extracted date/time parse function into a new package
StanleyLG Nov 7, 2021
d079af0
- More Junit Test Cases
StanleyLG Nov 11, 2021
c1aba75
Submission
StanleyLG Nov 13, 2021
3df9872
Test
StanleyLG Feb 20, 2022
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Duke project template
# duke.duke project template

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.

Expand All @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
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:
3. After that, locate the `src/main/java/duke.duke.java` file, right-click it, and choose `Run duke.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
____ _
Expand Down
46 changes: 46 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

repositories {
mavenCentral()
}

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'
}

test {
useJUnitPlatform()

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

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

application {
mainClassName = "duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run{
standardInput = System.in
}
14 changes: 14 additions & 0 deletions duke.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
T | 0 | eat | 0
T | 0 | read sales report | 2
T | 0 | read sales report | 2
T | 0 | eat | 0
T | 0 | sleep | 0
D | 0 | return book | 2021-11-05 | 22:00
D | 1 | read book | 2021-11-05 | 15:00
D | 0 | borrow book | 2021-11-05 | 11:00
E | 0 | project meeting | 2021-11-05 | 14:00 | 16:00
E | 0 | family dinner | 2021-11-05 | 18:00 | 21:00
T | 0 | submit claim | 0
T | 0 | read sales report | 2
D | 0 | return book | 2021-11-05 | 22:00
E | 0 | family dinner | 2021-11-05 | 18:00 | 21:00
4 changes: 4 additions & 0 deletions fixedDurationTask.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
read sales report | 2
read book | 1
do homework | 4
submit claims | 1
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
183 changes: 183 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 103 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/main/java/Duke.java

This file was deleted.

Loading