Skip to content

Commit b21f147

Browse files
committed
Add http4k bom
Signed-off-by: Gopal S Akshintala <[email protected]>
1 parent 9ec007b commit b21f147

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/setup-java@v4
99
with:
1010
distribution: jetbrains
11-
java-version: 21
11+
java-version: 17
1212

1313
- name: 'Setup Gradle'
1414
uses: gradle/gradle-build-action@v3

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ plugins {
1919
val mockitoAgent = configurations.create("mockitoAgent")
2020

2121
dependencies {
22+
api(platform(libs.http4k.bom))
2223
api(libs.bundles.http4k)
2324
api(libs.moshix.adapters)
2425
api(libs.java.vavr)

libs.versions.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,10 @@ truth = { module = "com.google.truth:truth", version.ref = "truth" }
5151
assertj-core = { module = "org.assertj:assertj-core", version.ref = "assertj-core" }
5252
assertj-vavr = { module = "org.assertj:assertj-vavr", version.ref = "assertj-vavr" }
5353
moshix-adapters = { module = "dev.zacsweers.moshix:moshi-adapters", version.ref = "moshix" }
54-
http4k-core = { module = "org.http4k:http4k-core", version.ref = "http4k" }
55-
http4k-client-apache = { module = "org.http4k:http4k-client-apache", version.ref = "http4k" }
56-
http4k-format-moshi = { module = "org.http4k:http4k-format-moshi", version.ref = "http4k" }
54+
http4k-bom = { module = "org.http4k:http4k-bom", version.ref = "http4k" }
55+
http4k-core = { module = "org.http4k:http4k-core" }
56+
http4k-client-apache = { module = "org.http4k:http4k-client-apache" }
57+
http4k-format-moshi = { module = "org.http4k:http4k-format-moshi" }
5758
graal-js = { module = "org.graalvm.js:js-language", version.ref = "graal" }
5859
underscore = { module = "com.github.javadev:underscore", version.ref = "underscore" }
5960
kotlin-faker = { module = "io.github.serpro69:kotlin-faker", version.ref = "kotlin-faker" }

0 commit comments

Comments
 (0)