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

[bbryant824]iP #642

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 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
fc551fe
lvl 0
bbryant824 Aug 22, 2024
353c60c
lv 2
bbryant824 Aug 22, 2024
5fff44e
lv 2 update 1
bbryant824 Aug 22, 2024
2860dc2
lv 1 updated
bbryant824 Aug 22, 2024
b1bd6a4
lv 1 updates
bbryant824 Aug 22, 2024
0b971d3
lv 1 updates
bbryant824 Aug 22, 2024
2074724
level-2
bbryant824 Aug 22, 2024
c0dada1
level-2 updates
bbryant824 Aug 22, 2024
c4c2fe2
level-3
bbryant824 Aug 22, 2024
43a3c1a
level-4
bbryant824 Aug 22, 2024
b70e524
level-5
bbryant824 Aug 22, 2024
1f787ff
level-6
bbryant824 Aug 22, 2024
b51da2c
level-6
bbryant824 Aug 24, 2024
57715db
level-6 updated
bbryant824 Aug 25, 2024
0812115
level-7 p1
bbryant824 Aug 29, 2024
fa92f69
Merge pull request #1 from bbryant824/branch-Level-7
bbryant824 Aug 29, 2024
fbd948a
level-8 p1
bbryant824 Aug 29, 2024
7052282
Merge pull request #2 from bbryant824/branch-Level-8
bbryant824 Aug 30, 2024
0311f04
level-8 p2, more oop
bbryant824 Aug 30, 2024
057ba97
Merge pull request #3 from bbryant824/branch-A-MoreOOP
bbryant824 Aug 30, 2024
8c181da
level-8 p2, more oop
bbryant824 Aug 30, 2024
f6d1968
level-8 p3, A-Packages
bbryant824 Aug 30, 2024
56c977b
Merge pull request #4 from bbryant824/add-gradle-support
bbryant824 Aug 30, 2024
50824e2
gradle updated
bbryant824 Aug 30, 2024
3fdffe4
A-JUnit updated
bbryant824 Aug 30, 2024
c68c764
A-Jar updated
bbryant824 Aug 30, 2024
0286c35
A-JavaDoc v1
bbryant824 Aug 30, 2024
20b77d0
A-CodingStandard v1
bbryant824 Aug 30, 2024
94e4353
Level-9, FindCommand added
bbryant824 Aug 30, 2024
ed6f7a3
Merge pull request #5 from bbryant824/branch-A-JavaDoc
bbryant824 Sep 4, 2024
093db6f
Merge pull request #6 from bbryant824/A-CodingStandard
bbryant824 Sep 4, 2024
9640396
Merge pull request #7 from bbryant824/branch-Level-9
bbryant824 Sep 4, 2024
e81053b
A-CheckStyle added
bbryant824 Sep 4, 2024
8a2d393
Merge pull request #8 from bbryant824/branch-A-CheckStyle
bbryant824 Sep 5, 2024
ac1040a
Level-10 v1
bbryant824 Sep 8, 2024
470e6ce
Merge pull request #9 from bbryant824/branch-Level-10
bbryant824 Sep 8, 2024
1fb35f0
A-Varargs with UI and javadocs added
bbryant824 Sep 8, 2024
c84bc00
Merge pull request #10 from bbryant824/branch-A-Varargs
bbryant824 Sep 8, 2024
c9d8f84
updates: modifications and packaging, fixing bugs
bbryant824 Sep 10, 2024
0f23b4e
Subject: Configure Gradle build to generate JAR file with JavaFX bundled
bbryant824 Sep 12, 2024
154daec
Subject: Refactor TaskList#addTask to use varargs
bbryant824 Sep 12, 2024
e04804f
Add assertions to Storage and AddCommand classes
bbryant824 Sep 12, 2024
020cccb
refactor: Improve UI structure and add assertions in Main class
bbryant824 Sep 12, 2024
e3da37d
refactor: Utilize Java Streams
bbryant824 Sep 12, 2024
6b7ec51
Merge pull request #11 from bbryant824/branch-A-Assertion
bbryant824 Sep 12, 2024
4c09c6d
Merge pull request #12 from bbryant824/branch-A-CodeQuality
bbryant824 Sep 12, 2024
a0d9e45
Merge pull request #13 from bbryant824/branch-A-Streams
bbryant824 Sep 12, 2024
414e01c
Improved the overall user experience in the chatbot UI:
bbryant824 Sep 12, 2024
d67dc23
extension: tagging
bbryant824 Sep 13, 2024
77beee2
update UI, README updates
bbryant824 Sep 19, 2024
c5472ea
Update README.md
bbryant824 Sep 20, 2024
949c50e
Improve error handling and update user-friendly error messages
bbryant824 Sep 20, 2024
bc53b9c
Enhance parser to handle more robust input validation
bbryant824 Sep 20, 2024
a1f89ad
Refactor AddCommand to handle date/time parsing errors
bbryant824 Sep 20, 2024
9aee944
Add unit tests for Todo class
bbryant824 Sep 20, 2024
5b34fad
Add unit tests for Parser class
bbryant824 Sep 20, 2024
683650e
Add Javadocs for Kobe class
bbryant824 Sep 20, 2024
18dbb7a
Add Javadocs for DialogBox class
bbryant824 Sep 20, 2024
7da67d4
Add Javadocs for TaskList class
bbryant824 Sep 20, 2024
23fb7ce
Merge branch 'master' of https://github.com/bbryant824/ip
bbryant824 Sep 20, 2024
8fce09c
Update Javadoc for AddCommand class
bbryant824 Sep 20, 2024
55501aa
Update Javadoc for Kobe class
bbryant824 Sep 20, 2024
b8bb26c
Update Javadoc for ExitCommand class
bbryant824 Sep 20, 2024
bfddc4b
Update Javadoc for FindCommand class
bbryant824 Sep 20, 2024
b23f17a
Add unit tests for Parser class
bbryant824 Sep 20, 2024
2a8e2bb
Add unit tests for Todo class
bbryant824 Sep 20, 2024
8e7b606
Improve error handling for mark and unmark commands
bbryant824 Sep 20, 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
13 changes: 3 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Duke project template
# Kobe 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.
This is a project template for a greenfield Java project. It's named after the great Kobe Bryant. Given below are instructions on how to use it.

## Setting up in Intellij

Expand All @@ -13,12 +13,5 @@ Prerequisites: JDK 17, update Intellij to the most recent version.
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.
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
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
3. After that, locate the `src/main/java/Duke.java` file, right-click it, and choose `Run Kobe.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:
```
76 changes: 76 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '7.1.2'
id 'checkstyle'
id 'org.openjfx.javafxplugin' version '0.0.13'
}

checkstyle {
toolVersion = '10.2' // Use the version compatible with your configuration files
configFile = file('config/checkstyle/checkstyle.xml') // Point to your CheckStyle config file
}

group 'com.example'
version '1.0-SNAPSHOT'

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'
implementation 'org.jetbrains:annotations:24.0.1'
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("kobe.Launcher")
}

shadowJar {
archiveBaseName = "kobe"
archiveClassifier.set('all') // This will append '-all' to the JAR name, indicating it contains all dependencies
}

run{
enableAssertions = true
}

jar {
manifest {
attributes(
'Main-Class': 'kobe.Kobe'
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
Loading