You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/02/09 13:47:24 UTC
[incubator-pekko] branch main updated: Add SourceDistPlugin for creating source packages
This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 464c0fa7cd Add SourceDistPlugin for creating source packages
464c0fa7cd is described below
commit 464c0fa7cd0a6e260b95e08c524c1969da474c29
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Thu Feb 2 22:46:41 2023 +0100
Add SourceDistPlugin for creating source packages
---
build.sbt | 5 ++++-
project/plugins.sbt | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/build.sbt b/build.sbt
index 7138640ad0..afc4df5ca5 100644
--- a/build.sbt
+++ b/build.sbt
@@ -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)
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 8c76537a71..db8c21ae5f 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -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")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org