https://github.com/terrylockett/advent-of-code
Best code ever written for AOC
https://github.com/terrylockett/advent-of-code
advent-of-code advent-of-code-2024 advent-of-code-2024-kotlin advent-of-code-java
Last synced: 28 days ago
JSON representation
Best code ever written for AOC
- Host: GitHub
- URL: https://github.com/terrylockett/advent-of-code
- Owner: terrylockett
- Created: 2023-11-23T12:53:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-12T12:45:29.000Z (2 months ago)
- Last Synced: 2025-12-12T21:57:49.918Z (2 months ago)
- Topics: advent-of-code, advent-of-code-2024, advent-of-code-2024-kotlin, advent-of-code-java
- Language: Java
- Homepage:
- Size: 639 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advent of Code
The Most beautiful kotlin and java code ever written for [AOC](https://adventofcode.com)

Guaranteed I will finish all days.
## Configuration
`JDK 11+`
Set AOC session token in your `~/.gradle/gradle.properties` to download the puzzle input.
```
AOC_TOKEN=abc123
```
How to get session token.
1. Authenticate at [https://adventofcode.com](https://adventofcode.com).
2. Open Web dev tools(cmd + opt + i) -> Storage tab
3. Copy `session` value
## Usage
#### Build
`./gradlew build`
#### Run
`./gradlew 2023:day01:run`
#### Lint
`./gradlew 2023:day01:spotlessApply`
#### Test
`./gradlew 2023:day01test`
#### Benchmark
`./gradlew 2024:day03:jmh`
#### Create new Module
`./gradlew newModule -PmoduleName=2023:day02 -Plang=kotlin`\
valid langs = [kotlin | java]
#### Download puzzle input
`./gradlew 2023:day01:downloadPuzzleInput`
#### Clean puzzle input
`./gradlew 2023:day01:cleanPuzzleInput`\
Note: `clean` does NOT depend on this.