Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
68c58c1
Add Gradle support
May 24, 2020
03523ec
Bump gradle and lib version
Eclipse-Dominator Aug 5, 2023
81a9c53
build.gradle: Prevent generating a second JAR file
aureliony Jul 16, 2024
6dd9dfd
Add src/main/java/.idea/
learningcoding-pixel Aug 26, 2025
0451719
Remove IDE config files and update .gitignore
learningcoding-pixel Aug 26, 2025
452632d
committ all files
learningcoding-pixel Aug 29, 2025
fb35983
commit files for Level 1.Echo
learningcoding-pixel Aug 30, 2025
07fecef
commit files for Level-2
learningcoding-pixel Aug 30, 2025
cb89c50
commit files for Level-3
learningcoding-pixel Aug 30, 2025
2e844ad
commit files for Level-4
learningcoding-pixel Aug 30, 2025
aa4162f
Commit files for A-TextUiTesting
learningcoding-pixel Aug 31, 2025
3c13287
Commit files for Level-5
learningcoding-pixel Aug 31, 2025
e634f88
Commit for Level 6
learningcoding-pixel Aug 31, 2025
28f800a
Level 7
learningcoding-pixel Sep 3, 2025
2425a06
Merge Level 7 from branch-Level-7
learningcoding-pixel Sep 3, 2025
534ca86
Commit for branch-Level-8
learningcoding-pixel Sep 3, 2025
359f4f4
Merge Level 8 implementation
learningcoding-pixel Sep 3, 2025
1127e46
Commit files for branch-Level-A-MoreOOP
learningcoding-pixel Sep 3, 2025
cb754ac
Merge A-MoreOOP implementation
learningcoding-pixel Sep 3, 2025
684d071
Commit for cat package
learningcoding-pixel Sep 3, 2025
55921cb
Merge branch-A-Packages implementation
learningcoding-pixel Sep 3, 2025
384b51e
Merge remote-tracking branch 'origin/add-gradle-support'
learningcoding-pixel Sep 6, 2025
b07315d
Commit for Gradle
learningcoding-pixel Sep 6, 2025
0abe76b
Merge A-Gradle implementation
learningcoding-pixel Sep 6, 2025
775739d
Commit JUnit
learningcoding-pixel Sep 7, 2025
3b1f6f6
Merge A-Junit implementation
learningcoding-pixel Sep 7, 2025
b4de6a7
Add javaDoc comments
learningcoding-pixel Sep 7, 2025
d89ae64
Commit for A-CodingStandard
learningcoding-pixel Sep 7, 2025
af2ee46
Add Find Function
learningcoding-pixel Sep 7, 2025
2bfe59d
Merge branch-A-CodingStandard into master, resolve conflicts
learningcoding-pixel Sep 7, 2025
87b4175
Merge branch-Level-9 into master
learningcoding-pixel Sep 7, 2025
93b1692
Commit Javafx
learningcoding-pixel Sep 13, 2025
bc4c343
Merge level 10 implementation
learningcoding-pixel Sep 13, 2025
053c311
Commit files for CheckStyle
learningcoding-pixel Sep 13, 2025
7287e4a
Merge branch-A-CheckStyle implementation
learningcoding-pixel Sep 13, 2025
a648b1e
Implement assert feature
learningcoding-pixel Sep 14, 2025
771202e
Implement CodeQuality
learningcoding-pixel Sep 14, 2025
14b7676
Implement Stream
learningcoding-pixel Sep 14, 2025
455e5de
Merge pull request #2 from learningcoding-pixel/branch-A-Assertions
learningcoding-pixel Sep 14, 2025
9f9c385
Merge branch 'master' into branch-A-CodeQuality
learningcoding-pixel Sep 14, 2025
e3d6046
Merge branch 'master' into branch-A-Streams
learningcoding-pixel Sep 14, 2025
82555bc
Merge pull request #3 from learningcoding-pixel/branch-A-CodeQuality
learningcoding-pixel Sep 15, 2025
cb3d73d
Merge pull request #4 from learningcoding-pixel/branch-A-Streams
learningcoding-pixel Sep 15, 2025
f3061c6
Implement Increment: A-BetterGui
learningcoding-pixel Sep 19, 2025
81e73b1
Implement Increment: A-Personality
learningcoding-pixel Sep 19, 2025
674a89f
Implement IncrementA A-MoreErrorHandling
learningcoding-pixel Sep 20, 2025
8bb3c23
Implement Increment: A-MoreTesting
learningcoding-pixel Sep 20, 2025
ab699ee
Merge branch 'branch-A-Personality'
learningcoding-pixel Sep 20, 2025
ee018b4
Merge branch 'branch-A-MoreErrorHandling'
learningcoding-pixel Sep 20, 2025
13cd89f
Merge branch 'branch-A-MoreTesting'
learningcoding-pixel Sep 20, 2025
5dba753
Commit files towards submission
learningcoding-pixel Sep 21, 2025
6c060e0
Commit files for userguide and release
learningcoding-pixel Sep 28, 2025
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ bin/

/text-ui-test/ACTUAL.TXT
text-ui-test/EXPECTED-UNIX.TXT

/src/main/java/out/production/
58 changes: 37 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,42 @@
# Duke project template
# "Cat" Chatbot Command List

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.
## Add Tasks
```
<t> | <todo>
<d> | <deadline> | <2/12/2019 1800>
<e> | <event> | <1/12/2019 1800> | <2/12/2019 1800>
```

## Setting up in Intellij
## List Tasks
```
<list>
```

Prerequisites: JDK 17, update Intellij to the most recent version.
## Find Tasks
```
<find> | <key>
```

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 17** (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.
1. 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
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
```
## Modify Tasks
```
<delete> | <index>
<mark> | <index>
<unmark> | <index>
```

**Warning:** Keep the `src\main\java` folder as the root folder for Java files (i.e., don't rename those folders or move Java files to another folder outside of this folder path), as this is the default location some tools (e.g., Gradle) expect to find Java files.
## Exit
```
<bye>
```

## Example
```
t | Worship Cat
d | Feed Cat | 1/12/2019 1400
e | Play with Cat | 1/12/2019 1800 | 2/12/2019 2200
list
mark | 2
find | Feed
delete | 3
bye
```
72 changes: 72 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
plugins {
id 'checkstyle'
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.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'
}

test {
useJUnitPlatform()

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

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

application {
//mainClass.set("cat.Meow")
mainClass.set("cat.Launcher")
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}

repositories {
mavenCentral()
}

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

checkstyle {
toolVersion = '11.0.0'
}

shadowJar {
archiveFileName = 'duke.jar'
}
Loading