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

[Qi Ting] iP #492

Open
wants to merge 45 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
43932c7
Implement Level-1
nqt230 Aug 18, 2022
c8bc26e
Implement Level-2
nqt230 Aug 18, 2022
162e54a
Implement Level-3
nqt230 Aug 18, 2022
76c13a6
Implement Level-4
nqt230 Aug 18, 2022
1dd0b26
Implement A-TextUiTesting
nqt230 Aug 18, 2022
8960774
Implement Level-5
nqt230 Aug 18, 2022
ecd6e8b
Implement Level-6
nqt230 Aug 18, 2022
acfd4da
Implement Level-7
nqt230 Aug 28, 2022
5e3049b
Implement Level-8
nqt230 Aug 30, 2022
e4c4464
Merge branch 'branch-Level-8'
nqt230 Aug 30, 2022
b469e7b
Clean up and refactor code
nqt230 Aug 31, 2022
40e712e
Merge remote-tracking branch 'upstream/add-gradle-support'
nqt230 Aug 31, 2022
094719a
Implement A-Gradle
nqt230 Aug 31, 2022
7797764
Implement A-MoreOOP
nqt230 Aug 31, 2022
07b4d5f
Implement A-Packages
nqt230 Aug 31, 2022
0689b3f
Implement A-JUnit
nqt230 Aug 31, 2022
c123f90
Implement A-Jar
nqt230 Aug 31, 2022
e55211e
Implement A-JavaDoc
nqt230 Aug 31, 2022
5c007e4
Implement A-CodingStandard
nqt230 Aug 31, 2022
508ff58
Implement Level-9
nqt230 Aug 31, 2022
1d5b8f9
Merge branch 'branch-A-CodingStandard'
nqt230 Aug 31, 2022
94442d5
Merge branch 'branch-Level-9'
nqt230 Aug 31, 2022
19d17fa
Add Javadocs headers to Level-9 methods
nqt230 Aug 31, 2022
5b097c0
Implement A-Checkstyle
nqt230 Aug 31, 2022
0d77585
Implement Level-10
nqt230 Sep 1, 2022
7fe4a23
Edit JavaDocs header
nqt230 Sep 1, 2022
beb44bb
Implement A-Assertions
nqt230 Sep 7, 2022
339e09e
Improve code quality
nqt230 Sep 10, 2022
cc9c6aa
Merge pull request #2 from nqt230/branch-A-CodeQuality
nqt230 Sep 10, 2022
6bbfad1
Merge branch 'master' into branch-A-Assertions
nqt230 Sep 10, 2022
e7d7698
Merge pull request #3 from nqt230/branch-A-Assertions
nqt230 Sep 10, 2022
0c4b946
Update Duke.main javadocs header
nqt230 Sep 10, 2022
36fd55b
Implement A-CI
nqt230 Sep 10, 2022
daa005c
Fix CI not set up correctly
nqt230 Sep 15, 2022
71521d5
Implement C-Sort
nqt230 Sep 15, 2022
9bbb054
Merge pull request #4 from nqt230/BCD-Extensions
nqt230 Sep 15, 2022
c23716b
Modify event and deadline creation in tasklist
nqt230 Sep 15, 2022
ca8df6d
Update tests and adjust exception message
nqt230 Sep 15, 2022
0bf8aa3
Improve GUI and user friendliness
nqt230 Sep 15, 2022
c3954c1
Merge pull request #5 from nqt230/branch-A-BetterGUI
nqt230 Sep 15, 2022
9cc8e3e
Add Ui.png and edit User Guide
nqt230 Sep 15, 2022
c5acf7e
Update User Guide
nqt230 Sep 17, 2022
018dc3b
Merge pull request #6 from nqt230/A-UserGuide
nqt230 Sep 17, 2022
74ea91e
Replace Ui.png with better app screenshot
nqt230 Sep 17, 2022
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
34 changes: 34 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Java CI

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

steps:
- name: Set up repository
uses: actions/checkout@master

- name: Set up repository
uses: actions/checkout@master
with:
ref: master

- name: Merge to master
run: git checkout --progress --force ${{ github.sha }}

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1

- name: Setup JDK 11
uses: actions/setup-java@v1
with:
java-version: '11'
java-package: jdk+fx

- name: Build and check with Gradle
run: ./gradlew check
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ bin/

/text-ui-test/ACTUAL.txt
text-ui-test/EXPECTED-UNIX.TXT
data/duke.txt
61 changes: 61 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
plugins {
id 'java'
id 'application'
id 'com.github.johnrengelman.shadow' version '5.1.0'
id 'checkstyle'
}

checkstyle {
toolVersion = '10.2'
}

repositories {
mavenCentral()
}

dependencies {
String javaFxVersion = '11'

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.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 = "duke.Duke"
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}
Loading