Skip to content

Commit

Permalink
Use junit bom and junit platform launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrik committed Dec 8, 2024
1 parent f7a5dbe commit 4606022
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ subprojects {
errorprone(libs.errorprone.core)
compileOnly libs.errorprone.annotations

testImplementation libs.junit.jupiter.api
testRuntimeOnly libs.junit.jupiter.engine

testImplementation(platform(libs.junit.bom))
testImplementation libs.junit.jupiter
testRuntimeOnly libs.junit.platform.launcher
}
}

7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
jackson = "2.18.2"
junit = "5.8.1"
junit = "5.11.3"
retrofit = "2.11.0"
dropwizard = "4.0.11"
errorprone = "2.36.0"
Expand All @@ -26,8 +26,9 @@ dropwizard-swagger = { module = "com.smoketurner:dropwizard-swagger", version =
jersey-media-sse = { module = "org.glassfish.jersey.media:jersey-media-sse", version = "3.1.9" }
jdbf = { module = "com.github.spyhunter99:jdbf", version = "2.2.4" }

junit-jupiter-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junit-jupiter-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
junit-jupiter = { module = "org.junit.jupiter:junit-jupiter" }
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }

[bundles]
jackson = ["jackson-bind", "jackson-yaml", "jackson-xml", "jackson-jsr310", "jackson-jdk8"]
Expand Down

0 comments on commit 4606022

Please sign in to comment.