Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions okapi-spring-boot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ val springBootMajorForTests = (
dependencies {
implementation(project(":okapi-core"))

// Runtime-required, not optional: Spring binds the @ConfigurationProperties data classes in this
// module via their Kotlin primary constructor, which it can only resolve through Kotlin
// reflection. Without it every okapi.* property fails to bind — see #88.
implementation(kotlin("reflect"))

compileOnly(libs.springContext)
compileOnly(libs.springTx)
compileOnly(libs.springJdbc)
Expand Down