Skip to content

C4RR0T02/ip

 
 

Repository files navigation

Carrot project template

This is a project template for a greenfield Java project. Given below are instructions on how to use it.

Setting up in Intellij

Prerequisites: JDK 17, update Intellij to the most recent version.

  1. Open Intellij (if you are not in the welcome screen, click File > Close Project to close the existing project first)

  2. Open the project into Intellij as follows:

    1. Click Open.
    2. Select the project directory, and click OK.
    3. If there are any further prompts, accept the defaults.
  3. Configure the project to use JDK 17 (not other versions) as explained in here.
    In the same dialog, set the Project language level field to the SDK default option.

  4. After that, run the following command to build and run the program

    ./gradlew clean
    ./gradlew run

    (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:

    Ui.png

Warning: Keep the src\main\java folder as the root folder for Java files (i.e., don't rename those folders or move Java files to another folder outside of this folder path), as this is the default location some tools (e.g., Gradle) expect to find Java files.

About

CS2103T Module individual Project on a deadline, event and task CLI tracker

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 95.4%
  • Batchfile 1.7%
  • Shell 1.5%
  • CSS 1.4%