From 1d9b30ae3b711f26ca14155103d58e561d8b4b7e Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 26 Feb 2025 13:10:48 +0100 Subject: [PATCH] Fixed issues with JUnit5 --- build.gradle | 1 + dependencies.gradle | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index f8205d5..fd3ecc6 100644 --- a/build.gradle +++ b/build.gradle @@ -64,6 +64,7 @@ dependencies { implementation libs.logback implementation libs.jacksonDatabind + testImplementation platform(libs.junitBom) testImplementation 'org.junit.jupiter:junit-jupiter' testImplementation libs.assertj testImplementation libs.archunit diff --git a/dependencies.gradle b/dependencies.gradle index e90c9b3..cabdada 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -8,10 +8,6 @@ def VERSIONS = [ libs.wiremock, ] -def PLATFORM_VERSIONS = [ - libs.junitBom -] - subprojects { plugins.withId('java-library') { dependencies { @@ -25,11 +21,6 @@ subprojects { runtimeOnly version } } - (PLATFORM_VERSIONS).each { bom -> - api platform(bom) - compileOnly platform(bom) - runtimeOnly platform(bom) - } } } }