From 311afedc2253973afc4fb3408f6c31fd76440612 Mon Sep 17 00:00:00 2001 From: Chris Richardson Date: Mon, 13 Jun 2022 09:51:07 +0900 Subject: [PATCH] Added BOM for inclusion in eventuate-platform-dependencies --- build.gradle | 13 ++++--------- settings.gradle | 1 + 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/build.gradle b/build.gradle index 0bada56e..5c35faa7 100644 --- a/build.gradle +++ b/build.gradle @@ -42,15 +42,10 @@ subprojects { eventuateMavenRepoUrl.split(',').each { repoUrl -> maven { url repoUrl } } } - dependencies { - testCompile "junit:junit:4.12" - } -} - -task aggregatedTestReport(type: TestReport) { - destinationDir = file("$buildDir/reports/allTests") - // Include the results from the 'test' task in all subprojects - reportOn subprojects*.test + if (!project.name.endsWith("-bom")) + dependencies { + testCompile "junit:junit:4.12" + } } gradle.projectsEvaluated { diff --git a/settings.gradle b/settings.gradle index e86065dc..9332e220 100644 --- a/settings.gradle +++ b/settings.gradle @@ -18,5 +18,6 @@ include 'eventuate-common-in-memory-database' include 'eventuate-common-common-spring-in-memory-database' include 'eventuate-common-spring-in-memory-database' include 'eventuate-common-micronaut-in-memory-database' +include 'eventuate-common-bom' rootProject.name = 'eventuate-common'