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

[Isaac] iP #496

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
556af3f
Add Gradle support
May 24, 2020
744308d
level 1-3 I’mplmented
Isaaclhy00 Aug 18, 2022
7448602
level 1-4 Implemented
Isaaclhy00 Aug 21, 2022
1d9771c
Level 1-6 implmented
Isaaclhy00 Aug 21, 2022
093478d
Implemented level 7
Isaaclhy00 Aug 28, 2022
6a5c41e
Implemented Level 8
Isaaclhy00 Aug 28, 2022
ce3cc3f
Merge branch 'add-gradle-support'
Isaaclhy00 Aug 28, 2022
18811a3
Implemented More OOP
Isaaclhy00 Aug 29, 2022
37a9a37
Implemented JUnit
Isaaclhy00 Aug 29, 2022
e132fec
Added JavaDocs
Isaaclhy00 Aug 30, 2022
cbba246
Implemented Find
Isaaclhy00 Aug 30, 2022
06b2bd6
Updated Duke.java
Isaaclhy00 Aug 30, 2022
102f67e
Implemented Checkstyle
Isaaclhy00 Sep 1, 2022
551d08c
Implement JavaFX for GUI
Isaaclhy00 Sep 5, 2022
b56f50e
Implemented Undo
Isaaclhy00 Sep 6, 2022
d967a77
Merge pull request #1 from Isaaclhy00/master
Isaaclhy00 Sep 7, 2022
040feab
Implemented C-Undo
Isaaclhy00 Sep 8, 2022
3e3b504
Merge branch 'branch-A-CodeQuality'
Isaaclhy00 Sep 8, 2022
b834a01
Improved GUI
Isaaclhy00 Sep 14, 2022
1308cd2
Update README.md
Isaaclhy00 Sep 19, 2022
1e8a719
Fix Jar file
Isaaclhy00 Sep 21, 2022
5f7ef7b
Update build.gradle
Isaaclhy00 Sep 21, 2022
c9f2b78
Revert "Update build.gradle"
Isaaclhy00 Sep 21, 2022
2c86ca2
Update build.gradle
Isaaclhy00 Sep 22, 2022
17cd7e5
Update build.gradle
Isaaclhy00 Sep 22, 2022
e1972c2
Updated duke.jar
Isaaclhy00 Sep 22, 2022
9f108f7
Update build.gradle
Isaaclhy00 Sep 22, 2022
9277669
Update build.gradle
Isaaclhy00 Sep 23, 2022
3d8bc33
Update build.gradle
Isaaclhy00 Sep 25, 2022
c198848
Final Version (Fixed jar)
Isaaclhy00 Sep 28, 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
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 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 @@ -13,7 +13,7 @@ Prerequisites: JDK 11, update Intellij to the most recent version.
1. If there are any further prompts, accept the defaults.
1. Configure the project to use **JDK 11** (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:
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
____ _
Expand Down
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'
}

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

checkstyle {
toolVersion = '10.2'
}

shadowJar {
archiveBaseName = "duke"
archiveClassifier = null
}

run{
standardInput = System.in
}
Loading