Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
d839859
Add Gradle support
May 24, 2020
daef102
Duke Level-1: Greet, Echo, Exit
EndireKT Sep 6, 2021
2b378e8
Duke Level-2: Add, List
EndireKT Sep 6, 2021
74ffb40
Duke Level-3-1: Modify class structure before actual task
EndireKT Sep 27, 2021
0100365
Duke Level-3-2: Further modify class structure before actual task
EndireKT Sep 27, 2021
d7323f3
Duke Level-3-3: Mark as Done
EndireKT Sep 28, 2021
686dcfb
Duke Level-3-4: Text UI Testing
EndireKT Sep 28, 2021
189b9dc
Duke Level-4: ToDos, Events, Deadlines
EndireKT Sep 30, 2021
ee366af
Duke Level-5: Handle Errors
EndireKT Sep 30, 2021
796c841
Revert "Duke Level-5: Handle Errors"
EndireKT Sep 30, 2021
bc937ac
Duke Level-5: Handle Errors;
EndireKT Sep 30, 2021
87db38c
Duke Level-5-4: Handle Errors
EndireKT Oct 1, 2021
3da79b0
Duke Level-6: Delete
EndireKT Oct 1, 2021
533b2b3
Duke Level-7-1: Restructure; File Access: test save file
EndireKT Oct 28, 2021
18821b9
Duke Level-7-2: File Access: save file
EndireKT Oct 28, 2021
758813c
Duke Level-7-3: Duke: Restructure duke object; File Access: load file
EndireKT Oct 29, 2021
e06829d
Duke Level-7-4: Message: load file
EndireKT Oct 29, 2021
2651e2b
Duke Level-7-5: OOP: Restructure program, add Ui, rename Parser Stora…
EndireKT Oct 29, 2021
952a11e
Duke Level-8-1: Date Time: Add LocalDate to TaskDeadline
EndireKT Oct 30, 2021
6e51f51
Duke Level-8-2: Date Time: Add LocalDate to TaskDeadline; Add LocalDa…
EndireKT Oct 31, 2021
89bc4f8
Duke Level-8-3: Add JavaDoc
EndireKT Oct 31, 2021
fd3a62d
Merge remote-tracking branch 'origin/add-gradle-support' into master
EndireKT Oct 31, 2021
74ad558
Duke Level-8-5: More JavaDoc; Add gradle; Run Checkstyle using Gradle
EndireKT Nov 1, 2021
0da23ac
Duke Level-8-6: JUnit
EndireKT Nov 1, 2021
571fe1c
Debug branch one. store the changes.
EndireKT Nov 2, 2021
d8a189c
Restructure Duke project and incooperate gradle properly
EndireKT Nov 2, 2021
d96d94c
Merge debug branch
EndireKT Nov 2, 2021
d0094fc
Duke Level-9-1: Add priority
EndireKT Nov 8, 2021
4ce8146
Duke Level-9-2: Improve code standard
EndireKT Nov 8, 2021
47663cf
Duke Level-9-3: Improve code quality
EndireKT Nov 8, 2021
018b5db
Restructure
EndireKT Nov 9, 2021
a7db520
Restructure 2
EndireKT Nov 9, 2021
060ef50
Restructure 3: Basic restructure are done
EndireKT Nov 9, 2021
7306ae5
Restructure 4: Advance Restructure
EndireKT Nov 10, 2021
90a0174
Improve Funcitonality 1: Improve save, introduce load; Update Duke cl…
EndireKT Nov 11, 2021
86bdab9
Improve Funcitonality 2: Basic Junit Test
EndireKT Nov 12, 2021
c6dcb26
Improve Funcitonality 2-2: Junit Sample Test
EndireKT Nov 12, 2021
f5e3b89
Improve Funcitonality 2-3: Junit Test, Introduce assertion
EndireKT Nov 12, 2021
1a96098
Improve code quality and follow code standard using checkstyle
EndireKT Nov 12, 2021
efb2181
Improve code quality, add undone feature; error handling
EndireKT Nov 13, 2021
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
12 changes: 12 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin/main" path="src">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Gradle build files
/.gradle/
/build/
src/main/resources/docs/
src/resources/docs/

# MacOS custom attributes files created by Finder
.DS_Store
Expand Down
34 changes: 34 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Duke</name>
<comment>Project Duke created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
<filteredResources>
<filter>
<id>1635828326582</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
13 changes: 13 additions & 0 deletions .settings/org.eclipse.buildship.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=C\:/Program Files/Java/jdk-11.0.2
jvm.arguments=
offline.mode=false
override.workspace.settings=true
show.console.view=true
show.executions.view=true
Binary file added Duke-1.2.jar
Binary file not shown.
40 changes: 40 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
plugins {
id 'java'
id 'application'
id 'checkstyle'
id 'com.github.johnrengelman.shadow' version '5.1.0'
}

group 'com.kangteng.duke'
version '1.0'

repositories {
mavenCentral()
}

mainClassName = 'duke.Duke'

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()
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
enableAssertions = true
}

checkstyle {
toolVersion = '8.29'
}


Loading