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

[jasperng] iP #461

Open
wants to merge 46 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 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
ce92999
Level 0. Rename, Greet, Exit
jasperng-nus Jan 29, 2024
6027b54
Level 1. Echo
jasperng-nus Jan 29, 2024
3978fe8
Level 2. Add, List
jasperng-nus Jan 29, 2024
9469460
Level 3. Mark as Done
jasperng-nus Jan 29, 2024
ea26f80
Level 4. ToDos, Events, Deadlines
jasperng-nus Jan 31, 2024
8eab31f
A-TextUiTesting: Automated Text UI Testing
jasperng-nus Jan 31, 2024
cb2fd36
Level 5. Handle Errors
jasperng-nus Jan 31, 2024
7c64367
Level 6. Delete
jasperng-nus Jan 31, 2024
64d9047
Level 7. Save
jasperng-nus Feb 7, 2024
9fafe6f
Merge branch 'branch-Level-7'
jasperng-nus Feb 7, 2024
4a7ddf1
Level 8. Dates and Times
jasperng-nus Feb 7, 2024
66148d1
Merge branch 'branch-Level-8'
jasperng-nus Feb 7, 2024
10347a1
A-MoreOOP: Use More OOP
jasperng-nus Feb 7, 2024
5857864
Revert "A-MoreOOP: Use More OOP"
jasperng-nus Feb 7, 2024
e095358
Revert "Revert "A-MoreOOP: Use More OOP""
jasperng-nus Feb 7, 2024
cd3d963
A-Packages: Organize into Packages
jasperng-nus Feb 7, 2024
9df2089
Merge branch 'branch-A-Packages'
jasperng-nus Feb 7, 2024
1073fd3
Merge branch 'add-gradle-support'
jasperng-nus Feb 7, 2024
5863631
A-Gradle: Use Gradle
jasperng-nus Feb 7, 2024
8fd3892
Merge branch 'add-gradle-support'
jasperng-nus Feb 7, 2024
3b436bb
A-JUnit: Add JUnit Tests
jasperng-nus Feb 7, 2024
d06f8cc
Merge branch 'branch-A-JUnit'
jasperng-nus Feb 7, 2024
3e6b152
A-JavaDoc: JavaDoc
jasperng-nus Feb 7, 2024
e7a5407
A-CodingStandard: Follow the Coding Standard
jasperng-nus Feb 8, 2024
8abadf7
Level 9. Find
jasperng-nus Feb 8, 2024
e54a79a
Merge branch 'branch-Level-9'
jasperng-nus Feb 8, 2024
072fb1f
Merge Conflict: combined both the branch-A-JavaDoc and branch-A-Codin…
jasperng-nus Feb 8, 2024
e957f81
Level 10. GUI
jasperng-nus Feb 16, 2024
1b4ca1a
Merge conflict: some changes have not been committed.
jasperng-nus Feb 16, 2024
a799c9c
Merge branch 'branch-Level-10'
jasperng-nus Feb 16, 2024
c46c6b1
Add checkstyle.xml and supression.xml
jasperng-nus Feb 22, 2024
aef80cc
Merge branch 'A-CheckStyle'
jasperng-nus Feb 22, 2024
b9f1270
Add a handleMarkOrUnmark() method
jasperng-nus Feb 23, 2024
c7da514
Add assertions into Storage and Luke classes
jasperng-nus Feb 23, 2024
62d3425
Merge pull request #2 from jasperng-nus/branch-A-Assertions
jasperng-nus Feb 23, 2024
96f6a55
fix: files are the same but shown as different
jasperng-nus Feb 23, 2024
bd73516
Merge branch 'master' of https://github.com/jasperng-nus/ip
jasperng-nus Feb 23, 2024
574a288
Add more methods to separate and shorten the parse method
jasperng-nus Feb 23, 2024
c29d284
Merge pull request #3 from jasperng-nus/branch-A-CodeQuality
jasperng-nus Feb 23, 2024
6046bb4
Add a help page to guide the user on the commands to use
jasperng-nus Feb 23, 2024
8a84c77
Add the Product Screenshot
jasperng-nus Feb 23, 2024
00c11eb
Merge branch 'master' of https://github.com/jasperng-nus/ip
jasperng-nus Feb 23, 2024
c28cee8
Add a User Guide
jasperng-nus Feb 23, 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
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
# luke.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/luke.Duke.java` file, right-click it, and choose `Run luke.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
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'
}

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'

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("luke.Luke")
}

shadowJar {
archiveBaseName = "luke"
archiveClassifier = null
dependsOn("distZip", "distTar")
}

checkstyle {
toolVersion = '10.2'
}

run{
standardInput = System.in
}
Loading