Skip to content

Commit

Permalink
scalapblib: support scalajs by default (#1488)
Browse files Browse the repository at this point in the history
ScalaJS can be supported if gRPC is not used.

Pull request: #1488
  • Loading branch information
atty303 authored Sep 23, 2021
1 parent de6c421 commit 4f91313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/scalapblib/src/ScalaPBModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trait ScalaPBModule extends ScalaModule {

override def ivyDeps = T {
super.ivyDeps() ++
Agg(ivy"com.thesamet.scalapb::scalapb-runtime:${scalaPBVersion()}") ++
Agg(ivy"com.thesamet.scalapb::scalapb-runtime::${scalaPBVersion()}") ++
(if (!scalaPBGrpc()) Agg()
else Agg(ivy"com.thesamet.scalapb::scalapb-runtime-grpc:${scalaPBVersion()}"))
}
Expand Down

0 comments on commit 4f91313

Please sign in to comment.