Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmitchell/advent-of-code-2020
https://github.com/cmitchell/advent-of-code-2020
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmitchell/advent-of-code-2020
- Owner: cmitchell
- Created: 2021-10-18T22:02:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-18T22:46:22.000Z (about 3 years ago)
- Last Synced: 2024-12-06T01:21:14.970Z (29 days ago)
- Language: Kotlin
- Size: 1.67 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```