From decb0ea7064ed7a483c0b79eb7478e1276a63675 Mon Sep 17 00:00:00 2001 From: Dmytro Vyazelenko <696855+vyazelenko@users.noreply.github.com> Date: Fri, 5 Jul 2024 11:54:47 +0200 Subject: [PATCH] [Java] Import JUnit BOM. --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b84af9d198..b9b869d87d 100644 --- a/build.gradle +++ b/build.gradle @@ -178,10 +178,12 @@ subprojects { dependencies { testImplementation "org.hamcrest:hamcrest:${hamcrestVersion}" testImplementation "org.mockito:mockito-core:${mockitoVersion}" - testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}" + testImplementation platform("org.junit:junit-bom:${junitVersion}") + + testImplementation "org.junit.jupiter:junit-jupiter" testImplementation "junit:junit:4.13.2" // FIXME: Remove after migration to JUnit 5 is complete testRuntimeOnly "org.junit.platform:junit-platform-launcher" - testRuntimeOnly "org.junit.vintage:junit-vintage-engine:${junitVersion}" + testRuntimeOnly "org.junit.vintage:junit-vintage-engine" } checkstyle.toolVersion = "${checkstyleVersion}"