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)