-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (31 loc) · 857 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
35
import Libs._
ThisBuild / scalaVersion := "2.13.2"
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "com.reaktive-carrot"
ThisBuild / organizationName := "reaktive-carrot"
lazy val scalaCompilerOptions = Seq(
"-encoding",
"UTF-8",
"-Ywarn-dead-code",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-Ywarn-inaccessible",
"-language:higherKinds",
"-language:existentials"
)
lazy val commonDependencies = Seq(
Libs.zio,
Libs.zioStreams,
Libs.zioLogging,
Libs.zioTest % Test,
Libs.zioTestSbt % Test
)
testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
lazy val root = (project in file("."))
.settings(
name := "basket-score",
libraryDependencies ++= commonDependencies
)
// CMD ALIASES
// format all sources and tests with scala fmt
addCommandAlias("format", ";scalafmt;test:scalafmt")