-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
36 lines (31 loc) · 1.02 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
31
32
33
34
35
36
val ideExcludedDirectories = SettingKey[Seq[File]]("ide-excluded-directories")
lazy val `elevator-challenge` = (project in file("."))
.settings(
organization := "org.scommons.viktor-podzigun",
name := "elevator-challenge",
description := "elevator coding challenge",
scalaVersion := "2.12.10",
scalacOptions ++= Seq(
//see https://docs.scala-lang.org/overviews/compiler-options/index.html#Warning_Settings
//"-Xcheckinit",
"-Xfatal-warnings",
"-Xlint:_",
"-Ywarn-macros:after", // Only inspect expanded trees when generating unused symbol warnings
"-explaintypes",
"-unchecked",
"-deprecation",
"-feature"
),
ideExcludedDirectories := {
val base = baseDirectory.value
List(
base / ".idea",
base / "target"
)
},
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
),
//when run tests with coverage: "sbt clean coverage test coverageReport"
coverageMinimum := 80
)