Attempts at Advent of Code 2019 in Kotlin, trying as hard as possible to stay functional and lazy. Project layout and structure is based on my aoc-kotlin-starter project. See below for how to run the project :)
See Bogdanp's Awesome Advent of Code for a great collection of starter and solution repositories in multiple languages.
- Navigate to top-level directory on the command line
- Run
./gradlew run
to run all days - Run
./gradlew run --args $DAY
where$DAY
is an integer to run a specific day
- Navigate to top-level directory on the command line
- Run
./gradlew test
- Run
./gradlew test --tests $TEST_CLASS
where$TEST_CLASS
is a string name of a test class, including package, e.g. 'days.Day4Test'