-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
37 lines (30 loc) · 798 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
val scalaSettings = Seq(
scalaVersion := "2.12.5",
scalacOptions ++= compilerOptions
)
lazy val compilerOptions = Seq(
"-deprecation",
"-encoding", "UTF-8",
"-feature",
"-deprecation",
"-language:implicitConversions",
"-unchecked",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Xlint",
"-language:_",
"-Ypartial-unification"/*,
"-Xfatal-warnings"*/
)
lazy val dependencies = Seq(
"net.sourceforge.htmlcleaner" % "htmlcleaner" % "2.22"
)
lazy val testDependencies = Seq(
"org.scalactic" %% "scalactic" % "3.0.5",
"org.scalatest" %% "scalatest" % "3.0.5"
).map(_ % "test")
val h2s = project.in(file("."))
.settings(scalaSettings)
.settings(libraryDependencies ++= dependencies)
.settings(libraryDependencies ++= testDependencies)