Skip to content

Commit

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

* Update build.sbt
  • Loading branch information
pjfanning committed Apr 27, 2024
1 parent 205f123 commit fd58991
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 49 deletions.
110 changes: 61 additions & 49 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,59 +15,61 @@ ThisBuild / resolvers += Resolver.ApacheMavenSnapshotsRepo

ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo

lazy val userProjects: Seq[ProjectReference] = List[ProjectReference](
amqp,
avroparquet,
awslambda,
azureStorageQueue,
cassandra,
couchbase,
csv,
dynamodb,
elasticsearch,
eventbridge,
files,
ftp,
geode,
googleCommon,
googleCloudBigQuery,
googleCloudBigQueryStorage,
googleCloudPubSub,
googleCloudPubSubGrpc,
googleCloudStorage,
googleFcm,
hbase,
hdfs,
huaweiPushKit,
influxdb,
ironmq,
jms,
jsonStreaming,
kinesis,
kudu,
mongodb,
mqtt,
mqttStreaming,
orientdb,
pravega,
reference,
s3,
springWeb,
simpleCodecs,
slick,
sns,
solr,
sqs,
sse,
text,
udp,
unixdomainsocket,
xml)

lazy val `pekko-connectors` = project
.in(file("."))
.enablePlugins(ScalaUnidocPlugin)
.disablePlugins(MimaPlugin, SitePlugin)
.aggregate(
amqp,
avroparquet,
awslambda,
azureStorageQueue,
cassandra,
couchbase,
csv,
dynamodb,
elasticsearch,
eventbridge,
files,
ftp,
geode,
googleCommon,
googleCloudBigQuery,
googleCloudBigQueryStorage,
googleCloudPubSub,
googleCloudPubSubGrpc,
googleCloudStorage,
googleFcm,
hbase,
hdfs,
huaweiPushKit,
influxdb,
ironmq,
jms,
jsonStreaming,
kinesis,
kudu,
mongodb,
mqtt,
mqttStreaming,
orientdb,
pravega,
reference,
s3,
springWeb,
simpleCodecs,
slick,
sns,
solr,
sqs,
sse,
text,
udp,
unixdomainsocket,
xml)
.aggregate(`doc-examples`)
.aggregate(userProjects: _*)
.aggregate(`doc-examples`, billOfMaterials)
.settings(
name := "pekko-connectors-root",
onLoadMessage :=
Expand Down Expand Up @@ -434,6 +436,16 @@ lazy val `doc-examples` = project
publish / skip := true,
Dependencies.`Doc-examples`)

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

val mimaCompareVersion = "1.0.2"

def pekkoConnectorProject(projectId: String,
Expand Down
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.32")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.12")
addSbtPlugin("com.github.pjfanning" % "sbt-pekko-build" % "0.3.3")
addSbtPlugin("com.github.sbt" % "sbt-license-report" % "1.6.1")
addSbtPlugin("com.lightbend.sbt" % "sbt-bill-of-materials" % "1.0.2")
// discipline
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
Expand Down

0 comments on commit fd58991

Please sign in to comment.