This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-projection.git


The following commit(s) were added to refs/heads/main by this push:
     new 61e6146  add pekko projection bom (#155)
61e6146 is described below

commit 61e61461cf2f3afd309b685b64658f6a554187ef
Author: PJ Fanning <[email protected]>
AuthorDate: Tue May 7 11:28:31 2024 +0100

    add pekko projection bom (#155)
    
    * add pekko projection bom
    
    * format
---
 build.sbt           | 16 ++++++++++++++--
 project/plugins.sbt |  1 +
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/build.sbt b/build.sbt
index d95e54f..a807aac 100644
--- a/build.sbt
+++ b/build.sbt
@@ -153,6 +153,9 @@ lazy val `durable-state` =
     .dependsOn(core)
     .dependsOn(testkit % Test)
 
+lazy val userProjects: Seq[ProjectReference] = List[ProjectReference](
+  core, jdbc, slick, cassandra, eventsourced, kafka, `durable-state`, testkit)
+
 lazy val examples = project
   .configs(IntegrationTest.extend(Test))
   .settings(headerSettings(IntegrationTest))
@@ -210,9 +213,18 @@ lazy val docs = project
       }
     }.taskValue)
 
+lazy val billOfMaterials = Project("bill-of-materials", 
file("bill-of-materials"))
+  .enablePlugins(BillOfMaterialsPlugin)
+  .disablePlugins(MimaPlugin, SitePlugin)
+  .settings(
+    name := "pekko-projection-bom",
+    licenses := List(License.Apache2),
+    bomIncludeProjects := userProjects,
+    description := s"${description.value} (depending on Scala 
${CrossVersion.binaryScalaVersion(scalaVersion.value)})")
+
 lazy val root = Project(id = "projection", base = file("."))
-  .aggregate(core, coreTest, testkit, jdbc, slick, cassandra, eventsourced, 
kafka, kafkaTest, `durable-state`, examples,
-    docs)
+  .aggregate(userProjects: _*)
+  .aggregate(billOfMaterials, coreTest, kafkaTest, examples, docs)
   .settings(
     publish / skip := true,
     name := "pekko-projection-root")
diff --git a/project/plugins.sbt b/project/plugins.sbt
index fec27a3..97708fb 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -25,3 +25,4 @@ addSbtPlugin(("com.github.sbt" % "sbt-site-paradox" % 
"1.7.0").excludeAll(
   "com.lightbend.paradox", "sbt-paradox"))
 
 addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
+addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to