Skip to content

Commit

Permalink
google-pub-sub-grpc: Akka gRPC 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
raboof committed May 26, 2021
1 parent cbe24aa commit f43808b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ lazy val googleCloudPubSubGrpc = alpakkaProject(
akkaGrpcCodeGeneratorSettings ~= { _.filterNot(_ == "flat_package") },
akkaGrpcGeneratedSources := Seq(AkkaGrpc.Client),
akkaGrpcGeneratedLanguages := Seq(AkkaGrpc.Scala, AkkaGrpc.Java),
Compile / PB.protoSources += (Compile / PB.externalIncludePath).value,
// for the ExampleApp in the tests
connectInput in run := true,
Compile / scalacOptions ++= Seq(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# ScalaPB-generated classes
ProblemFilters.exclude[Problem]("com.google.*")
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ object Dependencies {
// see Akka gRPC version in plugins.sbt
libraryDependencies ++= Seq(
// https://github.com/googleapis/java-pubsub/tree/master/proto-google-cloud-pubsub-v1/
"com.google.api.grpc" % "grpc-google-cloud-pubsub-v1" % "1.85.1" % "protobuf-src", // ApacheV2
"com.google.cloud" % "google-cloud-pubsub" % "1.112.5" % "protobuf-src", // ApacheV2
"io.grpc" % "grpc-auth" % akka.grpc.gen.BuildInfo.grpcVersion, // ApacheV2
"com.google.auth" % "google-auth-library-oauth2-http" % "0.20.0", // BSD 3-clause
"com.google.auth" % "google-auth-library-oauth2-http" % "0.22.2", // BSD 3-clause
// pull in Akka Discovery for our Akka version
"com.typesafe.akka" %% "akka-discovery" % AkkaVersion
) ++ Silencer
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.3")
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.1")
// Akka gRPC -- sync with version in Dependencies.scala
addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "1.0.0")
addSbtPlugin("com.lightbend.akka.grpc" % "sbt-akka-grpc" % "2.0.0")
// templating
addSbtPlugin("io.spray" % "sbt-boilerplate" % "0.6.1")

0 comments on commit f43808b

Please sign in to comment.