Skip to content

Files

Latest commit

 

History

History
36 lines (23 loc) · 885 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 885 Bytes

Advent of Code 2024

Solutions to the puzzles from the Advent of Code 2024.

Getting started

This project uses Java, so download and install a distribution of OpenJDK 23 or higher. This can be acquired from Oracle or through an IDE such as IntelliJ IDEA.

Once loaded into your favourite IDE, run the build command;

./gradlew build

Testing

Tests can be run with;

./gradlew test

Running a specific day's solution

There's no single point of entry for the project, so each day's solution must be run with the following command;

./gradlew -PmainClass='org.aoc.<classname>' run

Where classname is the name of the solution to run. For example, to run Day 1, it would be;

./gradlew -PmainClass='org.aoc.Day1' run