You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "vermas7988 (via GitHub)" <gi...@apache.org> on 2024/12/01 19:24:01 UTC
Re: [I] add test that excludes generating source for google protos [pekko-grpc]
vermas7988 commented on issue #380:
URL: https://github.com/apache/pekko-grpc/issues/380#issuecomment-2510217040
in application projects it works as mentioned in scalaPB docs: [scalaPB docs](https://scalapb.github.io/docs/faq/#how-do-i-generate-scala-code-for-protos-from-another-jar).
e.g.
```scala
libraryDependencies ++= Seq(
"com.somepackage" %% "that-has-jar" % "1.0" % "protobuf-src" intransitive(),
// then manually importing the common google dependencies separately
"com.thesamet.scalapb.common-protos" %% "proto-google-common-protos-scalapb_0.11" % "2.9.6-0" % "protobuf",
"com.thesamet.scalapb.common-protos" %% "proto-google-common-protos-scalapb_0.11" % "2.9.6-0"
)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org