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

[Nguyen Hoang Hai Minh] iP #445

Open
wants to merge 71 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
3b19ba1
Add Gradle support
May 24, 2020
cb0dcf9
Implement Level-1
nevirmc Aug 20, 2020
ff00562
Level-2
nevirmc Aug 20, 2020
299005e
Level-3
nevirmc Aug 20, 2020
052071c
Level-3
nevirmc Aug 20, 2020
d53eb38
Level-4
nevirmc Aug 20, 2020
c9c67ac
TextUiTesting
nevirmc Aug 20, 2020
7345f13
Level-5
nevirmc Aug 20, 2020
61ace1f
Level-6
nevirmc Aug 20, 2020
828bf0b
level 7 added
nevirmc Aug 27, 2020
87a8790
no message
nevirmc Aug 27, 2020
eff84ea
level 8 added
nevirmc Aug 27, 2020
716d3c3
Merge branch 'branch-Level-8'
nevirmc Aug 27, 2020
a9a8581
level-8 added
nevirmc Aug 27, 2020
9e2f0f5
Level-8 fixed
nevirmc Aug 27, 2020
12fe9af
A-Packages added
nevirmc Aug 27, 2020
758241f
A-JUnit added
nevirmc Aug 27, 2020
367da21
no message
nevirmc Aug 27, 2020
d47603e
A-JavaDoc added
nevirmc Aug 27, 2020
3f6b540
Level-9 Added
nevirmc Aug 27, 2020
53a20a7
Merge branch 'branch-Level-9'
nevirmc Aug 27, 2020
e5257ac
Fix package
nevirmc Sep 2, 2020
f71b3c9
no message
nevirmc Sep 2, 2020
d5b4965
Merge branch 'add-gradle-support' of https://github.com/minhhhnguyen2…
nevirmc Sep 2, 2020
af6a803
add GUI
nevirmc Sep 2, 2020
ca6ec8c
no message
nevirmc Sep 3, 2020
7428cf4
no message
nevirmc Sep 3, 2020
8e6c851
no message
nevirmc Sep 10, 2020
d3b8993
Add Assert
nevirmc Sep 10, 2020
396f602
Fix Code Quality
nevirmc Sep 10, 2020
9372042
Use lambda to print
nevirmc Sep 10, 2020
8803587
Change lambda expression
nevirmc Sep 10, 2020
25a54ce
Add Stream Collectors
nevirmc Sep 10, 2020
23a3044
Merge pull request #4 from minhhhnguyen2000/branch-A-CodeQuality
nevirmc Sep 10, 2020
9e14f33
Merge branch 'master' into branch-A-Assertions
nevirmc Sep 10, 2020
d2cc0a8
Merge branch 'master' into branch-A-Lambdas
nevirmc Sep 10, 2020
208bff7
Merge branch 'master' into branch-A-Streams
nevirmc Sep 10, 2020
8f99e1d
Merge pull request #3 from minhhhnguyen2000/branch-A-Lambdas
nevirmc Sep 10, 2020
44ec70b
Merge branch 'master' into branch-A-Streams
nevirmc Sep 10, 2020
e1a5959
Merge branch 'master' into branch-A-Assertions
nevirmc Sep 10, 2020
a5219a1
Merge pull request #2 from minhhhnguyen2000/branch-A-Streams
nevirmc Sep 10, 2020
2b4f16d
Merge branch 'master' into branch-A-Assertions
nevirmc Sep 10, 2020
29bd1ae
Merge pull request #1 from minhhhnguyen2000/branch-A-Assertions
nevirmc Sep 10, 2020
e393d3d
no message
nevirmc Sep 10, 2020
692c58e
Create gradle.yml
nevirmc Sep 10, 2020
d4b0d9d
Add dowithin
nevirmc Sep 10, 2020
6e5ad76
no message
nevirmc Sep 15, 2020
e8b9524
no message
nevirmc Sep 15, 2020
00f4ff0
no message
nevirmc Sep 15, 2020
426b401
Change to better OOP / Code Quality / JavaDoc
nevirmc Sep 15, 2020
f9481a7
no message
nevirmc Sep 16, 2020
0cef394
Divide into multiple packages
nevirmc Sep 16, 2020
23525e3
Change Task.java to abstract class
nevirmc Sep 16, 2020
407b183
better UI
nevirmc Sep 17, 2020
462aaa7
no message
nevirmc Sep 17, 2020
28b3deb
fix CheckStyle to detect coding style violations
nevirmc Sep 17, 2020
09a96b7
seperate DateFormatter
nevirmc Sep 17, 2020
1f73d1d
seperate DateFormatter
nevirmc Sep 17, 2020
2e39786
no message
nevirmc Sep 17, 2020
befc6ad
added product picture
nevirmc Sep 17, 2020
c2d3a3d
Fix Ui.png
nevirmc Sep 17, 2020
c24f512
Better OOP and Packages
nevirmc Sep 17, 2020
b28e166
update README.md
nevirmc Sep 17, 2020
779eb86
Set theme jekyll-theme-cayman
nevirmc Sep 17, 2020
e88c219
updates README.md
nevirmc Sep 17, 2020
601725b
Merge branch 'master' of https://github.com/minhhhnguyen2000/ip
nevirmc Sep 17, 2020
012b4f6
no message
nevirmc Sep 17, 2020
ce880a7
no message
nevirmc Sep 17, 2020
1ed4376
no message
nevirmc Sep 18, 2020
08f971a
Fix some minor JavaDoc error and updated build.gradle
nevirmc Sep 18, 2020
18e4cee
Update UI because of bug with jar
nevirmc 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
50 changes: 50 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
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

- name: Perform IO redirection test (*NIX)
if: runner.os == 'Linux'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (MacOS)
if: always() && runner.os == 'macOS'
working-directory: ${{ github.workspace }}/text-ui-test
run: ./runtest.sh

- name: Perform IO redirection test (Windows)
if: always() && runner.os == 'Windows'
working-directory: ${{ github.workspace }}/text-ui-test
shell: cmd
run: runtest.bat
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 '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'

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'
}

test {
useJUnitPlatform()

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

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

application {
mainClassName = "rock.Launcher"
}

shadowJar {
archiveBaseName = "rock"
archiveClassifier = null
}

checkstyle {
toolVersion = '8.36'
}

run{
standardInput = System.in
}
Loading