-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
31 lines (27 loc) · 1002 Bytes
/
build.sbt
File metadata and controls
31 lines (27 loc) · 1002 Bytes
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
import CiCommands.{ ciBuild, devBuild }
import Dependencies.Versions
ThisBuild / scalaVersion := Versions.Scala2
lazy val app =
project
.in(file("app"))
.settings(
libraryDependencies ++= Seq(
Dependencies.Compile.grpcNettyShaded,
Dependencies.Compile.catsEffect,
Dependencies.Compile.fs2Core,
Dependencies.Compile.fs2Io,
Dependencies.Compile.doobieCore,
Dependencies.Compile.doobieHikari,
Dependencies.Compile.doobiePostgres,
Dependencies.Compile.doobieCirce,
Dependencies.Compile.doobieFlyway,
Dependencies.Compile.postgresql,
Dependencies.Compile.airframe,
"io.grpc" % "grpc-services" % scalapb.compiler.Version.grpcJavaVersion,
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
),
)
.enablePlugins(Fs2Grpc)
commands ++= Seq(ciBuild, devBuild)
scalafmtOnCompile := true
scalafmtConfig := file(".scalafmt.conf")