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/08/11 10:29:22 UTC
[incubator-pekko-grpc] branch main updated: Rename sbt plugin artifact so it's consistent with other artifacts
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 ae23c14d Rename sbt plugin artifact so it's consistent with other artifacts
ae23c14d is described below
commit ae23c14d9172683ad35b47a6cd3aa659e843b778
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Fri Aug 11 10:28:06 2023 +0200
Rename sbt plugin artifact so it's consistent with other artifacts
---
build.sbt | 2 +-
docs/src/main/paradox/release-notes/index.md | 3 +++
sbt-plugin/src/sbt-test/gen-java/01-gen-basic-java/project/plugins.sbt | 2 +-
.../src/sbt-test/gen-java/02-server-reflection/project/plugins.sbt | 2 +-
.../src/sbt-test/gen-java/03-no-java-package/project/plugins.sbt | 2 +-
.../src/sbt-test/gen-java/04-crash-on-keywords/project/plugins.sbt | 2 +-
.../05-duplicate-messages-different-packages/project/plugins.sbt | 2 +-
.../src/sbt-test/gen-scala-server/00-interop/project/plugins.sbt | 2 +-
.../sbt-test/gen-scala-server/01-gen-basic-server/project/plugins.sbt | 2 +-
.../sbt-test/gen-scala-server/02-multiple-services/project/plugins.sbt | 2 +-
.../src/sbt-test/gen-scala-server/03-test-config/project/plugins.sbt | 2 +-
.../sbt-test/gen-scala-server/04-server-reflection/project/plugins.sbt | 2 +-
.../sbt-test/gen-scala-server/05-no-java-package/project/plugins.sbt | 2 +-
.../gen-scala-server/06-compatibility-plugins/project/plugins.sbt | 2 +-
.../07-gen-basic-server-with-pekko/project/plugins.sbt | 2 +-
.../gen-scala-server/09-scalapb-customizations/project/plugins.sbt | 2 +-
.../sbt-test/gen-scala-server/10-scalapb-validate/project/plugins.sbt | 2 +-
.../11-duplicate-messages-different-packages/project/plugins.sbt | 2 +-
.../src/sbt-test/scala3/01-basic-client-server/project/plugins.sbt | 2 +-
19 files changed, 21 insertions(+), 18 deletions(-)
diff --git a/build.sbt b/build.sbt
index 757b3b34..37cdfbfc 100644
--- a/build.sbt
+++ b/build.sbt
@@ -133,7 +133,7 @@ lazy val sbtPlugin = Project(id = "sbt-plugin", base = file("sbt-plugin"))
.disablePlugins(MimaPlugin)
.settings(Dependencies.sbtPlugin)
.settings(
- name := s"sbt-$pekkoPrefix",
+ name := s"$pekkoPrefix-sbt-plugin",
/** And for scripted tests: */
scriptedLaunchOpts += ("-Dproject.version=" + version.value),
scriptedLaunchOpts ++= sys.props.collect { case (k @ "sbt.ivy.home", v) => s"-D$k=$v" }.toSeq,
diff --git a/docs/src/main/paradox/release-notes/index.md b/docs/src/main/paradox/release-notes/index.md
index 36639b36..951fafc4 100644
--- a/docs/src/main/paradox/release-notes/index.md
+++ b/docs/src/main/paradox/release-notes/index.md
@@ -30,6 +30,9 @@ We haven't had to fix any significant bugs that were in Akka gRPC 2.1.6.
`mavenCentral()` to the `pluginManagement`'s `repositories` entry. See
[Installation docs](https://pekko.apache.org/docs/pekko-grpc/current/buildtools/gradle.html#installation) for more
info.
+* The naming convention of the Pekko gRPC sbt plugin has changed, i.e. whereas
+ with Akka the artifact was named `sbt-akka-grpc` with Pekko it's named
+ `pekko-grpc-sbt-plugin` so it's consistent with `pekko-grpc-gradle-plugin`/`pekko-grpc-maven-plugin`.
### Additions
diff --git a/sbt-plugin/src/sbt-test/gen-java/01-gen-basic-java/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-java/01-gen-basic-java/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-java/01-gen-basic-java/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-java/01-gen-basic-java/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-java/02-server-reflection/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-java/02-server-reflection/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-java/02-server-reflection/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-java/02-server-reflection/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-java/03-no-java-package/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-java/03-no-java-package/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-java/03-no-java-package/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-java/03-no-java-package/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-java/04-crash-on-keywords/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-java/04-crash-on-keywords/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-java/04-crash-on-keywords/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-java/04-crash-on-keywords/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-java/05-duplicate-messages-different-packages/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-java/05-duplicate-messages-different-packages/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-java/05-duplicate-messages-different-packages/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-java/05-duplicate-messages-different-packages/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/00-interop/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/00-interop/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/00-interop/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/00-interop/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/01-gen-basic-server/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/01-gen-basic-server/project/plugins.sbt
index c887c9a5..866f7bf7 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/01-gen-basic-server/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/01-gen-basic-server/project/plugins.sbt
@@ -7,6 +7,6 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.2.0")
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/02-multiple-services/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/03-test-config/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/03-test-config/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/03-test-config/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/03-test-config/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/04-server-reflection/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/05-no-java-package/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/05-no-java-package/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/05-no-java-package/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/05-no-java-package/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/06-compatibility-plugins/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/06-compatibility-plugins/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/06-compatibility-plugins/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/06-compatibility-plugins/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/07-gen-basic-server-with-pekko/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/07-gen-basic-server-with-pekko/project/plugins.sbt
index c887c9a5..866f7bf7 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/07-gen-basic-server-with-pekko/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/07-gen-basic-server-with-pekko/project/plugins.sbt
@@ -7,6 +7,6 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "1.2.0")
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/09-scalapb-customizations/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/09-scalapb-customizations/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/09-scalapb-customizations/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/09-scalapb-customizations/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/10-scalapb-validate/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/10-scalapb-validate/project/plugins.sbt
index 94d8054c..4e2d8889 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/10-scalapb-validate/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/10-scalapb-validate/project/plugins.sbt
@@ -7,6 +7,6 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
libraryDependencies ++= Seq("com.thesamet.scalapb" %% "scalapb-validate-codegen" % "0.3.0")
diff --git a/sbt-plugin/src/sbt-test/gen-scala-server/11-duplicate-messages-different-packages/project/plugins.sbt b/sbt-plugin/src/sbt-test/gen-scala-server/11-duplicate-messages-different-packages/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/gen-scala-server/11-duplicate-messages-different-packages/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/gen-scala-server/11-duplicate-messages-different-packages/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
diff --git a/sbt-plugin/src/sbt-test/scala3/01-basic-client-server/project/plugins.sbt b/sbt-plugin/src/sbt-test/scala3/01-basic-client-server/project/plugins.sbt
index 43e6941f..5eb2b655 100644
--- a/sbt-plugin/src/sbt-test/scala3/01-basic-client-server/project/plugins.sbt
+++ b/sbt-plugin/src/sbt-test/scala3/01-basic-client-server/project/plugins.sbt
@@ -7,4 +7,4 @@
* This file is part of the Apache Pekko project, which was derived from Akka.
*/
-addSbtPlugin("org.apache.pekko" % "sbt-pekko-grpc" % sys.props("project.version"))
+addSbtPlugin("org.apache.pekko" % "pekko-grpc-sbt-plugin" % sys.props("project.version"))
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org