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.
Prerequisites: JDK 11 (use the exact version), update Intellij to the most recent version.
src/main/java/seedu/duke/Duke.java
file, right-click it, and choose Run Duke.main()
. If the setup is correct, you should see something like the below:
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
> Task :Duke.main()
Hello from
____ _
| _ \ _ _| | _____
| | | | | | | |/ / _ \
| |_| | |_| | < __/
|____/ \__,_|_|\_\___|
What is your name?
Type some word and press enter to let the execution proceed to the end.
build.gradle
file).text-ui-test
and run the runtest(.bat/.sh)
script.src/test/java/seedu/duke/DukeTest.java
) is provided with this project template.The project uses GitHub actions for CI. When you push a commit to this repo or PR against it, GitHub actions will run automatically to build and verify the code as updated by the commit/PR.
/docs
folder contains a skeleton version of the project documentation.
Steps for publishing documentation to the public:
settings
tab.GitHub Pages
section.source
as master branch /docs folder
.choose a theme
button to choose a theme for your documentation.