From 46719c435c0cc1d3db852bb8e7c464a1916eb490 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 24 Jan 2024 13:25:09 +0100 Subject: [PATCH 1/2] add Apache to pom name --- gradle-plugin/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle-plugin/build.gradle b/gradle-plugin/build.gradle index a9fe7e3f..4946cfed 100644 --- a/gradle-plugin/build.gradle +++ b/gradle-plugin/build.gradle @@ -47,7 +47,7 @@ gradlePlugin { publishing { publications.withType(MavenPublication) { pom { - name = "Apache Pekko Grpc Gradle Plugin" + name = "Apache Pekko gRPC Gradle Plugin" description = "Apache Pekko gRPC - Support for building streaming gRPC servers and clients on top of Pekko Streams." url = "https://pekko.apache.org/" licenses { From e0a96921cab0a852ca653825f1cafff0020b2ce8 Mon Sep 17 00:00:00 2001 From: Matthew de Detrich Date: Thu, 25 Jan 2024 09:16:33 +1100 Subject: [PATCH 2/2] Also fix gRPC for sbt modules --- build.sbt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.sbt b/build.sbt index 0d822257..603e7532 100644 --- a/build.sbt +++ b/build.sbt @@ -32,6 +32,11 @@ commands := commands.value.filterNot { command => ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo +// So that gRPC is properly styled +ThisBuild / apacheSonatypeArtifactNameProcessor := apacheSonatypeArtifactNameProcessor.value.andThen { + _.replaceAll("Grpc", "gRPC") +} + val pekkoPrefix = "pekko-grpc" val pekkoGrpcRuntimeName = s"$pekkoPrefix-runtime"