Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ rewrite.neverInfix.excludeFilters = [
theSameElementsAs
theSameElementsInOrderAs
]
rewrite.trailingCommas.style = keep
rewriteTokens = {
"⇒": "=>"
"→": "->"
Expand Down
5 changes: 4 additions & 1 deletion pekko-sample-grpc-kubernetes-scala/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,16 @@ lazy val httpToGrpc = (project in file("http-to-grpc"))
"org.apache.pekko" %% "pekko-http-spray-json" % pekkoHttpVersion,
"org.apache.pekko" %% "pekko-discovery-kubernetes-api" % pekkoManagementVersion,
"ch.qos.logback" % "logback-classic" % "1.3.15"),
dockerExposedPorts := Seq(8080))
dockerExposedPorts := Seq(8080),
dockerBaseImage := "eclipse-temurin:21",
)

// gRPC back end that echoes back messages
lazy val grpcService = (project in file("grpc-service"))
.enablePlugins(PekkoGrpcPlugin, DockerPlugin, JavaAppPackaging)
.settings(
dockerExposedPorts := Seq(8080),
dockerBaseImage := "eclipse-temurin:21",
libraryDependencies ++= Seq(
"org.apache.pekko" %% "pekko-actor" % pekkoVersion,
"org.apache.pekko" %% "pekko-actor-typed" % pekkoVersion,
Expand Down