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

[Ek Chin Hui] iP #452

Open
wants to merge 42 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3b19ba1
Add Gradle support
May 24, 2020
422bc78
Add echo function
EkChinHui Aug 16, 2020
9ae06f0
Change logo
EkChinHui Aug 16, 2020
bc25f6e
Add list function
EkChinHui Aug 16, 2020
218c9dc
Implement mark as done
EkChinHui Aug 18, 2020
bdd8b2a
Add subclasses for tasks
EkChinHui Aug 20, 2020
03527cb
Implement automated text-ui testing
EkChinHui Aug 20, 2020
c18a5c9
Implement DukeException handling
EkChinHui Aug 20, 2020
e6022e4
Add InvalidInputException and ToDoMissingDescriptionException
EkChinHui Aug 20, 2020
5d115b0
Add delete functionality
EkChinHui Aug 20, 2020
55f6d97
Fix ToDoMissingDescriptionException
EkChinHui Aug 20, 2020
3ccae8b
Implement save and load tasks function
EkChinHui Aug 27, 2020
86ae4c0
Implement time as LocalDate
EkChinHui Aug 27, 2020
d0df34a
Merge branch 'branch-Level-8'
EkChinHui Aug 27, 2020
a75fcee
build.gradle: Update version to 8.29
Aug 29, 2020
8c5af4b
Refactor code to be more object-oriented
EkChinHui Aug 31, 2020
bd54b22
Move classes into packages
EkChinHui Aug 31, 2020
f8563a3
Add JUnit tests for Task and ToDo
EkChinHui Aug 31, 2020
7483163
Add JavaDoc comments
EkChinHui Aug 31, 2020
1a21b84
Rename methods to be consistent with coding standard
EkChinHui Sep 1, 2020
6b5837a
Add find functionality
EkChinHui Sep 1, 2020
4c19c08
Merge branch 'branch-A-CodingStandard'
EkChinHui Sep 1, 2020
720611f
Merge branch 'branch-Level-9'
EkChinHui Sep 1, 2020
01d2d09
Fix merge conflict issue
EkChinHui Sep 1, 2020
b628146
Merge remote-tracking branch 'iP_main_branch/add-gradle-support'
EkChinHui Sep 1, 2020
53cbaa6
Add checkstyle module
EkChinHui Sep 1, 2020
9ff6717
Add GUI
EkChinHui Sep 2, 2020
e037b99
Merge branch 'branch-A-Checkstyle'
EkChinHui Sep 2, 2020
ce3ebd6
Merge branch 'branch-Level-10'
EkChinHui Sep 2, 2020
ed22b91
Organize classes into packages
EkChinHui Sep 6, 2020
29d99cf
Refactor commands to follow inheritance
EkChinHui Sep 14, 2020
1377704
Add assert statements
EkChinHui Sep 15, 2020
5015806
Refactor storage class
EkChinHui Sep 15, 2020
82616a9
Merge pull request #1 from EkChinHui/branch-A-Assertions
EkChinHui Sep 16, 2020
c88567d
Merge branch 'master' into branch-A-CodeQuality
EkChinHui Sep 16, 2020
84846dc
Merge pull request #2 from EkChinHui/branch-A-CodeQuality
EkChinHui Sep 16, 2020
141abed
Fix GUI application build path
EkChinHui Sep 16, 2020
9d2ef72
Add help command
EkChinHui Sep 16, 2020
cae9f9b
Implement reminder function
EkChinHui Sep 16, 2020
3fd5d4c
Update README
EkChinHui Sep 18, 2020
ac781f4
Add Ui.png
EkChinHui Sep 18, 2020
2f0ccec
Fix GUI exit command not working
EkChinHui Sep 18, 2020
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 @@ -15,7 +15,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
1. Click `Open or Import`.
1. Select the project directory, and click `OK`
1. If there are any further prompts, accept the defaults.
1. After the importing is complete, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Duke.main()`. If the setup is correct, you should see something like the below:
1. After the importing is complete, locate the `src/main/java/duke.Duke.java` file, right-click it, and choose `Run duke.Duke.main()`. If the setup is correct, you should see something like the below:
```
Hello from
____ _
Expand Down
61 changes: 61 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
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'

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

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

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

application {
mainClassName = "duke.Launcher"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.29'
}

run{
standardInput = System.in
}
Loading