diff --git a/day2/build.gradle.kts b/day2/build.gradle.kts index f552689..abb0b93 100644 --- a/day2/build.gradle.kts +++ b/day2/build.gradle.kts @@ -1,3 +1,7 @@ plugins { id("setup") } + +dependencies { + api(projects.day1) +} diff --git a/day3/build.gradle.kts b/day3/build.gradle.kts index f552689..c3529cf 100644 --- a/day3/build.gradle.kts +++ b/day3/build.gradle.kts @@ -1,3 +1,7 @@ plugins { id("setup") } + +dependencies { + implementation(projects.day2) +} diff --git a/day3/src/test/kotlin/Day3Test.kt b/day3/src/test/kotlin/Day3Test.kt index 7ed4c53..1e90ab1 100644 --- a/day3/src/test/kotlin/Day3Test.kt +++ b/day3/src/test/kotlin/Day3Test.kt @@ -2,6 +2,9 @@ import kotlin.test.Test import kotlin.test.assertEquals class Day3Test { + @Test fun a() { + getDigits("") + } @Test fun partOneSample() { val input =