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-projection.git
The following commit(s) were added to refs/heads/main by this push:
new 12281d3 Integrate pekko-sbt-paradox
12281d3 is described below
commit 12281d3a10fee41342651c49e04b0c125b34f6ea
Author: Matthew de Detrich <[email protected]>
AuthorDate: Mon Mar 27 22:04:17 2023 +0200
Integrate pekko-sbt-paradox
---
build.sbt | 3 ++-
project/plugins.sbt | 15 +++++++++++----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/build.sbt b/build.sbt
index 329d218..fbf0618 100644
--- a/build.sbt
+++ b/build.sbt
@@ -142,11 +142,12 @@ lazy val examples = project
.settings(publish / skip := true, scalacOptions += "-feature", javacOptions
+= "-parameters")
lazy val docs = project
- .enablePlugins(ParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin,
PublishRsyncPlugin)
+ .enablePlugins(PekkoParadoxPlugin, ParadoxPlugin, ParadoxSitePlugin,
PreprocessPlugin, PublishRsyncPlugin)
.disablePlugins(MimaPlugin)
.dependsOn(core, testkit)
.settings(
name := "Apache Pekko Projections",
+ pekkoParadoxGithub :=
Some("https://github.com/apache/incubator-pekko-projection"),
publish / skip := true,
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
previewPath := (Paradox / siteSubdirName).value,
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 5234eed..00b872c 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -6,12 +6,19 @@ addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")
addSbtPlugin("org.mdedetrich" % "sbt-apache-sonatype" % "0.1.6")
// Documentation
+// allow access to snapshots for pekko-sbt-paradox
+resolvers += "Apache Nexus
Snapshots".at("https://repository.apache.org/content/repositories/snapshots/")
+
// We have to deliberately use older versions of sbt-paradox because current
Pekko sbt build
// only loads on JDK 1.8 so we need to bring in older versions of parboiled
which support JDK 1.8
-addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.9.2")
-addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-apidoc" % "0.10.1")
-addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-project-info" % "2.0.0")
-addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-dependencies" % "0.2.2")
+addSbtPlugin(("org.apache.pekko" % "pekko-sbt-paradox" %
"0.0.0+30-8bee46d0-SNAPSHOT").excludeAll(
+ "com.lightbend.paradox", "sbt-paradox",
+ "com.lightbend.paradox" % "sbt-paradox-apidoc",
+ "com.lightbend.paradox" % "sbt-paradox-project-info"))
+addSbtPlugin(("com.lightbend.paradox" % "sbt-paradox" % "0.9.2").force())
+addSbtPlugin(("com.lightbend.paradox" % "sbt-paradox-apidoc" %
"0.10.1").force())
+addSbtPlugin(("com.lightbend.paradox" % "sbt-paradox-project-info" %
"2.0.0").force())
+
addSbtPlugin("com.lightbend.sbt" % "sbt-publish-rsync" % "0.2")
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]