Works with (in build.gradle.kts)
buildscript {
...
extra["http4kVersion"] = "3.239.0"
}
dependencies {
implementation("org.http4khttp4k core${extra["http4kVersion"]}")
implementation("org.http4khttp4k server jetty${extra["http4kVersion"]}")
implementation("org.http4khttp4k client okhttp${extra["http4kVersion"]}")
implementation("org.http4khttp4k client apache${extra["http4kVersion"]}")
}