Skip to content

Commit

Permalink
add pekko-management-bom (#244)
Browse files Browse the repository at this point in the history
* add pekko-management-bom

* Update build.sbt
  • Loading branch information
pjfanning authored May 29, 2024
1 parent 5c84b28 commit 1ec49f7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 12 deletions.
37 changes: 25 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,32 @@ inThisBuild(Def.settings(
val logLevelProjectList: Seq[ProjectReference] =
Seq[ProjectReference](managementLoglevelsLogback, managementLoglevelsLog4j2)

val projectList: Seq[ProjectReference] = Seq[ProjectReference](
val userProjects: Seq[ProjectReference] = Seq[ProjectReference](
// When this aggregate is updated the list of modules in ManifestInfo.checkSameVersion
// in management should also be updated
discoveryAwsApi,
discoveryAwsApiAsync,
discoveryConsul,
discoveryKubernetesApi,
discoveryMarathonApi,
leaseKubernetes,
management,
managementPki,
managementClusterHttp,
managementClusterBootstrap) ++ logLevelProjectList ++ Seq[ProjectReference](
integrationTestAwsApiEc2TagBased,
integrationTestLocal,
integrationTestAwsApiEcs,
integrationTestKubernetesApi,
integrationTestKubernetesApiJava,
integrationTestKubernetesDns,
integrationTestMarathonApiDocker,
leaseKubernetes,
leaseKubernetesIntTest,
docs)
managementClusterBootstrap) ++ logLevelProjectList

val projectList: Seq[ProjectReference] =
userProjects ++ Seq[ProjectReference](
integrationTestAwsApiEc2TagBased,
integrationTestLocal,
integrationTestAwsApiEcs,
integrationTestKubernetesApi,
integrationTestKubernetesApiJava,
integrationTestKubernetesDns,
integrationTestMarathonApiDocker,
leaseKubernetesIntTest,
docs,
billOfMaterials)

// root
lazy val root = project
Expand Down Expand Up @@ -166,6 +170,15 @@ lazy val leaseKubernetes = pekkoModule("lease-kubernetes")
.settings(inConfig(IntegrationTest)(JavaFormatterPlugin.toBeScopedSettings))
.dependsOn(managementPki)

lazy val billOfMaterials = Project("bill-of-materials", file("bill-of-materials"))
.enablePlugins(BillOfMaterialsPlugin)
.disablePlugins(MimaPlugin)
.settings(
name := "pekko-management-bom",
licenses := List(License.Apache2),
bomIncludeProjects := userProjects,
description := s"${description.value} (depending on Scala ${CrossVersion.binaryScalaVersion(scalaVersion.value)})")

lazy val leaseKubernetesIntTest = pekkoModule("lease-kubernetes-int-test")
.enablePlugins(JavaAppPackaging, DockerPlugin)
.dependsOn(leaseKubernetes)
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ addSbtPlugin("com.github.pjfanning" % "sbt-pekko-build" % "0.3.3")
addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.3")
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")

addSbtPlugin("org.apache.pekko" % "pekko-sbt-paradox" % "1.0.1")

0 comments on commit 1ec49f7

Please sign in to comment.