forked from btlines/grpcakkastream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
30 lines (26 loc) · 1.13 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import scalapb.compiler.Version.scalapbVersion
organization in ThisBuild := "beyondthelines"
version in ThisBuild := "0.1.1"
bintrayOrganization in ThisBuild := Some(sys.props.get("bintray.organization").getOrElse("beyondthelines"))
bintrayRepository in ThisBuild := "maven"
bintrayPackageLabels in ThisBuild := Seq("scala", "protobuf", "grpc", "akka")
licenses in ThisBuild := ("MIT", url("http://opensource.org/licenses/MIT")) :: Nil
scalaVersion in ThisBuild := "2.12.4"
lazy val runtime = (project in file("runtime"))
.settings(
crossScalaVersions := Seq("2.12.4", "2.11.11"),
name := "GrpcAkkaStreamRuntime",
libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapbVersion,
"com.typesafe.akka" %% "akka-stream" % "2.5.19"
)
)
lazy val generator = (project in file("generator"))
.settings(
crossScalaVersions := Seq("2.12.4", "2.10.6"),
name := "GrpcAkkaStreamGenerator",
libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "compilerplugin" % scalapbVersion,
"com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapbVersion
)
)