File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ version := "1.0-SNAPSHOT"
1111// build.sbt
1212lazy val `play-java-grpc-example` = (project in file(" ." ))
1313 .enablePlugins(PlayJava )
14+ // .enablePlugins(PlayNettyServer).disablePlugins(PlayAkkaHttpServer) // uncomment to use the Netty backend
1415 .enablePlugins(AkkaGrpcPlugin ) // enables source generation for gRPC
1516 .enablePlugins(PlayAkkaHttp2Support ) // enables serving HTTP/2 and gRPC
1617 // #grpc_play_plugins
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ version := "1.0-SNAPSHOT"
1212// build.sbt
1313lazy val `play-scala-grpc-example` = (project in file(" ." ))
1414 .enablePlugins(PlayScala )
15+ // .enablePlugins(PlayNettyServer).disablePlugins(PlayAkkaHttpServer) // uncomment to use the Netty backend
1516 .enablePlugins(AkkaGrpcPlugin ) // enables source generation for gRPC
1617 .enablePlugins(PlayAkkaHttp2Support ) // enables serving HTTP/2 and gRPC
1718// #grpc_play_plugins
Original file line number Diff line number Diff line change @@ -9,14 +9,17 @@ val commonSettings = Seq(
99
1010lazy val one = (project in file(" modules/one" ))
1111 .enablePlugins(PlayScala )
12+ // .enablePlugins(PlayNettyServer).disablePlugins(PlayAkkaHttpServer) // uncomment to use the Netty backend
1213 .settings(commonSettings)
1314
1415lazy val two = (project in file(" modules/two" ))
1516 .enablePlugins(PlayScala )
17+ // .enablePlugins(PlayNettyServer).disablePlugins(PlayAkkaHttpServer) // uncomment to use the Netty backend
1618 .settings(commonSettings)
1719
1820lazy val root = (project in file(" ." ))
1921 .enablePlugins(PlayScala , PlayAkkaHttp2Support )
22+ // .enablePlugins(PlayNettyServer).disablePlugins(PlayAkkaHttpServer) // uncomment to use the Netty backend
2023 .settings(commonSettings)
2124 .settings(
2225 name := """ play-scala-tls-example""" ,
You can’t perform that action at this time.
0 commit comments