advent-of-code🐔
This project uses Gradle To build and run the application, use the Gradle tool window by clicking the Gradle icon in the right-hand toolbar, or run it directly from the terminal:
- Run
./gradlew runto build and run the application. - Run
./gradlew buildto only build the application. - Run
./gradlew checkto run all checks, including tests. - Run
./gradlew cleanto clean all build outputs.
Note the usage of the Gradle Wrapper (./gradlew).
This is the suggested way to use Gradle in production projects.
Learn more about the Gradle Wrapper.
Learn more about Gradle tasks.
This project follows the suggested multi-module setup and consists of the app and utils subprojects.
The shared build logic was extracted to a convention plugin located in buildSrc.
This project uses a version catalog (see gradle/libs.versions.toml) to declare and version dependencies
and both a build cache and a configuration cache (see gradle.properties).
| Day | Part 1 | Part 2 | Total |
|---|---|---|---|
| Day 1 (Solution) |
1ms (1816µs) | 2ms (2045µs) | 23ms |
| Day 2 (Solution) |
88ms | 322ms | 414ms |
| Day 3 (Solution) |
0ms (739µs) | 1ms (1338µs) | 4ms (4157µs) |
| Day 4 (Solution) |
7ms | 12ms | 24ms |
| Day 5 (Solution) |
5ms | 0ms (555µs) | 9ms |
| Day 6 | |||
| Day 7 | |||
| Day 8 | |||
| Day 9 | |||
| Day 10 | |||
| Day 11 | |||
| Day 12 |