An open API service indexing awesome lists of open source software.

https://github.com/keeferrourke/aoc2021

Advent of Code 2021 solutions in Kotlin.
https://github.com/keeferrourke/aoc2021

adventofcode aoc-2021 aoc-2021-in-kotlin

Last synced: over 1 year ago
JSON representation

Advent of Code 2021 solutions in Kotlin.

Awesome Lists containing this project

README

          

# Advent of Code 2021

ACHTUNG! THERE MAY BE SPOILERS IN THIS REPOSITORY!

My solutions to AOC2021, written in Kotlin.

Code is released under the ISC license. See LICENSE for details.

## Building

This project uses [Hermit](https://cashapp.github.io/hermit) to manage the build toolchain.

Run `./bin/activate-hermit` to set up the environment and download the dependencies.

Build the main puzzle runner with `./gradlew jar`.

## Running

Run the main program with `java -jar ./build/libs/aoc.jar `

All inputs are organized under `src/test/resources/day#`.

## Testing

This project has tests for each solution under `src/test/kotlin`.
Tests use the [Kotest](https://kotest.io) framework with a JUnit 5 runner.