bzabor / AdventOfCode2018

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent Of Code 2018

Template project for Kotlin tests and solutions for the 2018 puzzles.

To get started, clone this project! Then:

  • Copy your daily inputs into the dayXX/src/main/resources/input.txt files.
  • Write your daily solutions in the main functions in the files named dayXX/src/main/kotlin/Main.kt.
  • (Optional) Write your daily tests by creating new test classes in the dayXX/src/test/kotlin/ directories.

This project uses:

  • Kotlin 1.3.10
  • Gradle 5.0
  • KotlinTest 3.1.10

Instructions

Running Solutions

All days:

./gradlew run

Specific day, e.g. 14:

./gradlew day14:run

Running Tests

All days:

./gradlew test

Specific day, e.g. 14:

./gradlew day14:test

About

License:Apache License 2.0


Languages

Language:Kotlin 100.0%