-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
34 lines (24 loc) · 897 Bytes
/
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
31
32
33
34
import com.trueaccord.scalapb.{ScalaPbPlugin => PB}
PB.protobufSettings
PB.flatPackage in PB.protobufConfig := true
scalaSource in PB.protobufConfig := sourceManaged.value
PB.runProtoc in PB.protobufConfig := { args =>
com.github.os72.protocjar.Protoc.runProtoc("-v300" +: args.toArray)
}
libraryDependencies += "com.trueaccord.scalapb" %% "scalapb-runtime-grpc" % "0.5.40"
libraryDependencies += "com.trueaccord.scalapb" %% "scalapb-runtime" % "0.5.40" % PB.protobufConfig
libraryDependencies += "com.trueaccord.scalapb" %% "scalapb-json4s" % "0.1.1"
libraryDependencies += "io.grpc" % "grpc-netty" % "1.0.0"
scalaVersion := "2.11.8"
scalacOptions ++= (
"-deprecation" ::
"-unchecked" ::
"-Xlint" ::
"-language:existentials" ::
"-language:higherKinds" ::
"-language:implicitConversions" ::
"-Yno-adapted-args" ::
"-Ywarn-unused" ::
"-Ywarn-unused-import" ::
Nil
)