Skip to content

Commit cd6436c

Browse files
authored
basic dependency upgrade for 2025, closer to kotlin 2... (#290)
* basic dependency upgrade for 2025, closer to kotlin 2... * update warning supression string/style
1 parent 2375b16 commit cd6436c

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

build.gradle.kts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,23 @@ repositories {
2828

2929
dependencies {
3030
// main dependencies
31-
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.17.1")
31+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.20.1")
3232
implementation("io.arrow-kt:arrow-core:1.2.4")
33-
implementation("org.apache.commons:commons-text:1.11.0")
34-
implementation("org.apache.commons:commons-math3:3.6")
33+
implementation("org.apache.commons:commons-text:1.14.0")
34+
implementation("org.apache.commons:commons-math3:3.6.1")
3535
implementation("org.apache.commons:commons-geometry-core:1.0")
3636
implementation("org.apache.commons:commons-geometry-euclidean:1.0")
3737
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
38-
implementation("tools.aqua:z3-turnkey:4.13.0")
38+
implementation("tools.aqua:z3-turnkey:4.14.1")
3939
implementation("org.jgrapht:jgrapht-core:1.5.2")
4040

4141
// used for generating skeletons
4242
implementation("com.squareup:kotlinpoet:1.18.1")
4343

4444
// dependency injection library and annotation procressing
45-
implementation("com.google.dagger:dagger:2.51")
46-
kapt("com.google.dagger:dagger-compiler:2.51")
47-
kaptTest("com.google.dagger:dagger-compiler:2.51")
45+
implementation("com.google.dagger:dagger:2.57.2")
46+
kapt("com.google.dagger:dagger-compiler:2.57.2")
47+
kaptTest("com.google.dagger:dagger-compiler:2.57.2")
4848

4949
// test libraries
5050
testImplementation(kotlin("test"))
@@ -74,7 +74,7 @@ tasks.jacocoTestReport {
7474
}
7575

7676
jacoco {
77-
toolVersion = "0.8.11"
77+
toolVersion = "0.8.14"
7878
}
7979

8080
sourceSets {

src/main/kotlin/me/peckb/aoc/_2021/calendar/day23/Layout.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ data class Layout(val hallway: List<Char>, private val rooms: List<List<Char>>)
7777
return neighbors
7878
}
7979

80-
@Suppress("ReplaceRangeToWithUntil")
80+
@Suppress("ReplaceRangeToWithRangeUntil")
8181
private fun List<Char>.pathClear(sourceIndex: Int, destinationIndex: Int): Boolean {
8282
val range = if (sourceIndex < destinationIndex) {
8383
(sourceIndex+1)..destinationIndex

src/main/kotlin/me/peckb/aoc/_2021/calendar/day24/Day24.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Day24 @Inject constructor(private val generatorFactory: InputGeneratorFact
3131
// the `div z 1` values are purely derivative from the previous (unused) `add y [value]` instruction
3232
// we keep track of "unused" by using a stack of addY(s)
3333
if (instructions[4] == "div z 26") {
34-
@Suppress("UnnecessaryVariable")
34+
// @Suppress("UnnecessaryVariable")
3535
val addXIndex = mainResultIndex
3636
val addXValue = instructions[5].substringAfterLast(" ").toInt()
3737
val (addYIndex, addYValue) = addYStack.removeLast()

0 commit comments

Comments
 (0)