These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
- JDK 8 or later
You can setup the project into an IDE by importing the folder. The following command shows how to do it in IntelliJ IDEA.
idea advent-of-code-2021
You can easily run the automated tests of this project by the shipped gradle wrapper
❯ ./gradlew clean test
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :app:compileKotlin
> Task :app:test
...
BUILD SUCCESSFUL in 1m 44s
5 actionable tasks: 5 executed
There are unit tests for all of the solved days. Each one is in a separate package located under src/test/kotlin
.
── test
├── kotlin
│ └── advent
│ └── of
│ └── code
│ ├── day01
│ │ └── Day01Test.kt
│ ├── day02
│ │ └── Day02Test.kt
│ ├── day03
│ │ └── Day03Test.kt
│ ├── day04
│ │ └── Day04Test.kt
│ ├── day05
│ │ └── Day05Test.kt
│ ├── day06
│ │ └── Day06Test.kt
│ ├── day07
│ │ └── Day07Test.kt
│ ├── day08
│ │ └── Day08Test.kt
│ ├── day09
│ │ └── Day09Test.kt
│ ├── day10
│ │ └── Day10Test.kt
- Daniel Bubenheim - Initial work - dbubenheim
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details