Skip to content
Open
Show file tree
Hide file tree
Changes from 21 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
3b19ba1
Add Gradle support
May 24, 2020
456de8d
Level 1 completed
kaitlynng Aug 18, 2020
6e2b2a1
Bot now speaks russian
kaitlynng Aug 18, 2020
0d1b9a3
Level 3 done
kaitlynng Aug 19, 2020
90ef94f
Created Task class
kaitlynng Aug 19, 2020
ae618f8
Done level 4
kaitlynng Aug 20, 2020
0fa0977
Done A-TextUiTesting
kaitlynng Aug 20, 2020
403e28c
Done Level 5
kaitlynng Aug 20, 2020
1b2ebe2
Done Level 6
kaitlynng Aug 20, 2020
46f1d9a
Added enums
kaitlynng Aug 20, 2020
3f08797
Add Level-7 increment
kaitlynng Aug 30, 2020
299b09a
Add Level-8
kaitlynng Aug 30, 2020
730d194
switch to using LocalDateTime
kaitlynng Aug 30, 2020
b533b2f
Merge branch 'branch-Level-8'
kaitlynng Aug 30, 2020
289082d
Add A-MoreOOP
kaitlynng Aug 31, 2020
32469b6
Add A-Packages
kaitlynng Aug 31, 2020
24ca469
Add A-JUnit
kaitlynng Aug 31, 2020
cb051f4
Add A-JavaDoc
kaitlynng Sep 1, 2020
8be86c4
Add A-CodingStandard
kaitlynng Sep 1, 2020
491a55a
Merge tag 'A-CodingStandard'
kaitlynng Sep 1, 2020
ceb57be
Merge branch 'add-gradle-support' into branch-A-Gradle
kaitlynng Sep 1, 2020
398dd04
Add Level-10
kaitlynng Sep 8, 2020
00e31b4
Add A-Assertions
kaitlynng Sep 8, 2020
ef0e879
Merge pull request #1 from kaitlynng/A-Assertions
kaitlynng Sep 8, 2020
4a7970e
Revert "Add A-Assertions"
kaitlynng Sep 8, 2020
d6271e9
Merge pull request #2 from kaitlynng/revert-1-A-Assertions
kaitlynng Sep 8, 2020
bae37bd
Add Level-9
kaitlynng Sep 17, 2020
98f98c4
Add A-Assertions
kaitlynng Sep 17, 2020
a599370
Add C-Update
kaitlynng Sep 18, 2020
d03ab6c
Add A-CodeQuality
kaitlynng Sep 18, 2020
ddf8545
Merge pull request #3 from kaitlynng/branch-A-CodeQuality
kaitlynng Sep 18, 2020
46fa9d9
Add A-UserGuide
kaitlynng Sep 18, 2020
0cb4f87
Update README.md
kaitlynng Sep 18, 2020
7d6cd58
Add A-BetterGUI
kaitlynng Sep 18, 2020
1bb0432
Add more GUI improvements
kaitlynng Sep 18, 2020
2bca07a
minor changes
kaitlynng Sep 18, 2020
9829b69
Resize dialogbox
kaitlynng 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
46 changes: 46 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
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'
}

test {
useJUnitPlatform()

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

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

application {
mainClassName = "seedu.duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.23'
}

run{
standardInput = System.in
}
4 changes: 4 additions & 0 deletions data/tasks.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
duke.task.Task list (Last updated Sep 1 2020, 04:37:04 AM):
1. [T][✓] hello
2. [D][✗] homework (by: Mar 3 2020)
3. [E][✓] finish (at: Mar 4 2021, 12:00:00 PM)
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
183 changes: 183 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 103 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/main/java/Duke.java

This file was deleted.

3 changes: 3 additions & 0 deletions src/main/java/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: duke.Duke

Loading