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/03/15 21:47:25 UTC
[incubator-pekko-connectors] branch main updated: Use Pekko Paradox Plugin
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-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 0d2e355c5 Use Pekko Paradox Plugin
0d2e355c5 is described below
commit 0d2e355c5cf57766d1ff9cd8ceb9562c54d9d23c
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Wed Mar 15 22:31:42 2023 +0100
Use Pekko Paradox Plugin
---
build.sbt | 3 ++-
project/plugins.sbt | 15 +++++++++++----
2 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/build.sbt b/build.sbt
index b1307611d..64ff5588e 100644
--- a/build.sbt
+++ b/build.sbt
@@ -309,11 +309,12 @@ lazy val unixdomainsocket =
lazy val xml = pekkoConnectorProject("xml", "xml", Dependencies.Xml)
lazy val docs = project
- .enablePlugins(ParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin)
+ .enablePlugins(PekkoParadoxPlugin, ParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin)
.disablePlugins(MimaPlugin)
.settings(
Compile / paradox / name := "Apache Pekko Connectors",
publish / skip := true,
+ pekkoParadoxGithub := Some("https://github.com/apache/incubator-pekko-connectors"),
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
previewPath := (Paradox / siteSubdirName).value,
Preprocess / siteSubdirName := s"api/alpakka/${projectInfoVersion.value}",
diff --git a/project/plugins.sbt b/project/plugins.sbt
index d08ed9cfb..90ca88778 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -9,12 +9,19 @@ addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.0")
addSbtPlugin("com.lightbend.sbt" % "sbt-java-formatter" % "0.7.0")
// docs
+// 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.github.sbt" % "sbt-unidoc" % "0.5.0")
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org