Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.43 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.43 KB

Datastructures & Algorithms assignment 2 template

How to build

Run ./gradlew jar. Then run java -jar build/libs/DS2-1.0.jar

How to execute tests

Run ./gradlew test

How to hand in

Execute ./gradlew archive.

Hand in the file build/archive/DS2.zip

Info

To build the project we will use gradle. By executing gradle build in the top level directory of the project, the project will be built. If you do not have gradle installed, do not worry! The template includes a gradle wrapper (./gradlew), that will download gradle on-the-fly when executed. You can use the command ./gradlew instead of gradle in all subsequent examples.

We have applied the idea (IntelliJ) and eclipse plugin to the gradle file. If you want to import the project into eclipse, execute gradle eclipse in the top-level directory. This will generate a project file that can be imported in Eclipse. Likewise, if you run gradle idea, gradle will generate an IntelliJ project for you.

Import in IntelliJ

How to import in IntelliJ.

Import in Eclipse