Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/cmitchell/advent-of-code-2020


https://github.com/cmitchell/advent-of-code-2020

Last synced: 27 days ago
JSON representation

Awesome Lists containing this project

README

        

![Kotlin](./kotlin-1.svg)

# Advent of Code 2020 - in [Kotlin] (https://kotlinlang.org/)!

I'm going to attempt (likely with varying degrees of motivation) to implement all of the advent of code problems in Kotlin. Since [VSCode] (https://code.visualstudio.com/) and other IDEs rely on [Gradle] (https://gradle.org/) or Maven at the moment to supply code completion for Kotlin, each day of the advent is a simple Gradle project, but you can run the code without gradle. Either way, you will however, need to have Java installed.

## Running the code

I've included the input file supplied by advent of code for each problem.

Using gradle, from ``
```
gradle run -Pinput=input
```

Manually, without gradle, from `/src/main/kotiln`
```
java -jar Solution.jar ../../../input
```