Skip to content

Commit

Permalink
use junit bom
Browse files Browse the repository at this point in the history
  • Loading branch information
tonivade committed Jan 31, 2025
1 parent 8f7f1f8 commit de16fbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ dependencies {
implementation(libs.logbackClassic)
implementation(libs.slf4j)

testImplementation(platform(libs.junitBom))
testImplementation(libs.junitJupiter)
testRuntimeOnly(libs.junitRunner)
testRuntimeOnly(libs.junitLauncher)
testImplementation(libs.mockitoCore)
testImplementation(libs.mockitoJunit)
testImplementation(libs.assertj)
Expand Down
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[versions]
junitEngineVersion = "5.11.4"
junitPlatformVersion = "1.11.4"
junitVersion = "5.11.4"
mockitoVersion = "5.15.2"
versionsVersion = "0.52.0"
nexusVersion = "1.3.0"
Expand All @@ -23,8 +22,9 @@ slf4jVersion = "2.0.16"
shadowJarVersion = "8.1.1"

[libraries]
junitJupiter = { group = "org.junit.jupiter", name = "junit-jupiter-engine", version.ref = "junitEngineVersion" }
junitRunner = { group = "org.junit.platform", name = "junit-platform-runner", version.ref = "junitPlatformVersion" }
junitBom = { group = "org.junit", name = "junit-bom", version.ref = "junitVersion" }
junitJupiter = { module = "org.junit.jupiter:junit-jupiter-engine" }
junitLauncher = { module = "org.junit.platform:junit-platform-launcher" }
mockitoCore = { group = "org.mockito", name = "mockito-core", version.ref = "mockitoVersion" }
mockitoJunit = { group = "org.mockito", name = "mockito-junit-jupiter", version.ref = "mockitoVersion" }
picocli = { group = "info.picocli", name = "picocli", version.ref = "picocliVersion" }
Expand Down

0 comments on commit de16fbd

Please sign in to comment.