Skip to content

Commit

Permalink
Update dependencies, but not NPM ones
Browse files Browse the repository at this point in the history
  • Loading branch information
serras committed Sep 27, 2024
1 parent b88a67a commit e5cbca1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[versions]
coroutines = "1.8.1"
coroutines = "1.9.0"
kotest = "5.9.1"
kotlin = "2.0.0"
kotlin = "2.0.20"
knit = "0.5.0"
arrow = "1.2.4"
ksp = "2.0.0-1.0.22"
ksp = "2.0.20-1.0.25"
suspendapp = "0.4.0"
kotlinKafka = "0.4.0"
cache4k = "0.13.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
4 changes: 1 addition & 3 deletions guide/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ tasks {
}

withType<KotlinCompile>().configureEach {
kotlinOptions {
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
}
compilerOptions.freeCompilerArgs.add("-Xcontext-receivers")
}
}
3 changes: 2 additions & 1 deletion guide/src/test/kotlin/examples/example-validation-06.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ data class Book private constructor(
{ ensure(title.isNotEmpty()) { EmptyTitle } },
{ ensureNotNull(authors.toNonEmptyListOrNull()) { NoAuthors } }
) { _, _ ->
Book(title, TODO())
Unit
}
Book(title, TODO())
}
}
}

0 comments on commit e5cbca1

Please sign in to comment.