The Most beautiful kotlin and java code ever written for AOC
Guaranteed I will finish all days.
JDK 17+
Set AOC session token in your ~/.gradle/gradle.properties
to download the puzzle input.
AOC_TOKEN=abc123
How to get session token.
- Authenticate at https://adventofcode.com.
- Open Web dev tools(cmd + opt + i) -> Storage tab
- Copy
session
value
./gradlew build
./gradlew 2023:day01:run
./gradlew 2023:day01:spotlessApply
./gradlew test
./gradlew newModule -PmoduleName=2023:day02 -Plang=kotlin
valid langs = [kotlin | java]
./gradlew 2023:day01:downloadPuzzleInput
./gradlew 2023:day01:cleanPuzzleInput
Note: clean
does NOT depend on this.