Skip to content

Commit

Permalink
reorganize repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mlcohen committed Dec 2, 2022
1 parent b60d217 commit 69302ef
Show file tree
Hide file tree
Showing 153 changed files with 28 additions and 227 deletions.
19 changes: 19 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
plugins {
kotlin("jvm") version "1.7.22"
}

repositories {
mavenCentral()
}

tasks {
sourceSets {
main {
java.srcDirs("src")
}
}

wrapper {
gradleVersion = "7.6"
}
}
17 changes: 0 additions & 17 deletions buildSrc/build.gradle.kts

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion buildSrc/build/kotlin/buildSrcjar-classes.txt

This file was deleted.

Binary file removed buildSrc/build/kotlin/compileKotlin/build-history.bin
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed buildSrc/build/kotlin/compileKotlin/last-build.bin
Binary file not shown.
Binary file removed buildSrc/build/libs/buildSrc.jar
Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions buildSrc/build/tmp/jar/MANIFEST.MF

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

16 changes: 0 additions & 16 deletions day01/build.gradle.kts

This file was deleted.

16 changes: 0 additions & 16 deletions day02/build.gradle.kts

This file was deleted.

4 changes: 0 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@
*/

rootProject.name = "advent-of-code-kotlin-2022"
include(
"day01",
"day02",
)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.aoc
package day01.main

import java.io.File

Expand Down Expand Up @@ -26,7 +26,7 @@ fun runSolutionPart2(input: List<List<Int>>) {
}

fun main() {
val rawInput = File("day01/src/main/resources/input.txt").readLines()
val rawInput = File("src/day01/resources/input.txt").readLines()
val input = processInput(rawInput)

runSolutionPart1(input)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.aoc
package day02.main

import java.io.File

Expand Down Expand Up @@ -116,7 +116,7 @@ fun runSolutionPart2(actions: List<Pair<Char, Char>>) {
}

fun main() {
val rawInput = File("day02/src/main/resources/input.txt").readLines()
val rawInput = File("src/day02/resources/input.txt").readLines()
val actions = parseInput(rawInput)
runSolutionPart1(actions)
runSolutionPart2(actions)
Expand Down
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions src/day03/main/App.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package day03.main

fun main() {
println("Day 3")
}
File renamed without changes.

0 comments on commit 69302ef

Please sign in to comment.