Add SourceDistPlugin for creating source packages

This commit is contained in:
Matthew de Detrich 2023-02-02 22:46:41 +01:00 committed by Matthew de Detrich
parent bceeca9b78
commit 464c0fa7cd
2 changed files with 5 additions and 1 deletions

View file

@ -100,9 +100,12 @@ lazy val root = Project(id = "pekko", base = file("."))
akkaScalaNightly,
docs,
serialversionRemoverPlugin))
.settings(Compile / headerCreate / unmanagedSources := (baseDirectory.value / "project").**("*.scala").get)
.settings(
Compile / headerCreate / unmanagedSources := (baseDirectory.value / "project").**("*.scala").get,
sourceDistName := "incubator-pekko")
.settings(PekkoBuild.welcomeSettings)
.enablePlugins(CopyrightHeaderForBuild)
.enablePlugins(SourceDistPlugin)
lazy val actor = pekkoModule("actor")
.settings(Dependencies.actor)

View file

@ -26,4 +26,5 @@ addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.30")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.2")
addSbtPlugin("com.github.pjfanning" % "sbt-source-dist" % "0.1.2")
addSbtPlugin("com.github.reibitto" % "sbt-welcome" % "0.2.2")