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/28 20:18:24 UTC
[incubator-pekko-grpc] branch main updated: Use Pekko Paradox sbt 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-grpc.git
The following commit(s) were added to refs/heads/main by this push:
new 76aefa92 Use Pekko Paradox sbt plugin
76aefa92 is described below
commit 76aefa9226b48a17fb4ae41d69bf4a45c27a1a6a
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Tue Feb 28 13:19:40 2023 +0100
Use Pekko Paradox sbt plugin
---
build.sbt | 3 ++-
project/plugins.sbt | 16 +++++++++++++---
project/project-info.conf | 17 -----------------
3 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/build.sbt b/build.sbt
index 9336a32e..6c90b702 100644
--- a/build.sbt
+++ b/build.sbt
@@ -183,12 +183,13 @@ lazy val docs = Project(id = "docs", base = file("docs"))
// Make sure code generation is run:
.dependsOn(pluginTesterScala)
.dependsOn(pluginTesterJava)
- .enablePlugins(AkkaParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin)
+ .enablePlugins(PekkoParadoxPlugin, ParadoxSitePlugin, PreprocessPlugin, PublishRsyncPlugin)
.disablePlugins(MimaPlugin)
.settings(
name := s"$pekkoPrefix-docs",
publish / skip := true,
makeSite := makeSite.dependsOn(LocalRootProject / ScalaUnidoc / doc).value,
+ pekkoParadoxGithub := "https://github.com/apache/incubator-pekko-grpc",
previewPath := (Paradox / siteSubdirName).value,
Preprocess / siteSubdirName := s"api/akka-grpc/${projectInfoVersion.value}",
Preprocess / sourceDirectory := (LocalRootProject / ScalaUnidoc / unidoc / target).value,
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 8c317bcb..b337c8e3 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -17,9 +17,19 @@ addSbtPlugin("net.bzzt" % "sbt-reproducible-builds" % "0.30")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.10")
-// docs
-addSbtPlugin("com.lightbend.akka" % "sbt-paradox-akka" % "0.44")
-addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-dependencies" % "0.2.2")
+// 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(("org.apache.pekko" % "pekko-sbt-paradox" % "0.0.0+28-a1dda63b-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.typesafe.sbt" % "sbt-site" % "1.4.1")
diff --git a/project/project-info.conf b/project/project-info.conf
index 0c8f7402..3abf0a72 100644
--- a/project/project-info.conf
+++ b/project/project-info.conf
@@ -34,22 +34,5 @@ project-info {
runtime: ${project-info.shared-info} {
title: "Apache Pekko gRPC"
jpms-name: "pekko.grpc.runtime"
- levels: [
- {
- readiness: Supported
- since: "2020-06-17"
- since-version: "1.0.0"
- }
- {
- readiness: Incubating
- since: "2019-04-18"
- since-version: "0.6.1"
- }
- {
- readiness: CommunityDriven
- since: "2018-05-08"
- since-version: "0.1"
- }
- ]
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org