-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.sbt
27 lines (20 loc) · 1.08 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
ThisBuild / scalaVersion := "2.11.12"
ThisBuild / organization := "org.lift-project"
lazy val arithExpr = (project in file("."))
.settings(
name := "ArithExpr",
version := "1.0",
scalacOptions ++= Seq("-Xmax-classfile-name", "100", "-unchecked", "-deprecation", "-feature"),
scalacOptions in (Compile, doc) := Seq("-implicits", "-diagrams"),
// Source locations (defaults would be: src/main/scala and test/main/java)
scalaSource in Compile := baseDirectory(_ / "src/main").value,
scalaSource in Test := baseDirectory(_ / "src/test").value,
javaSource in Compile := baseDirectory(_ / "src/main").value,
javaSource in Test := baseDirectory(_ / "src/test").value,
// dependencies specified in project/Dependencies.scala
libraryDependencies ++= Dependencies.libraryDependencies,
testOptions += Tests.Argument(TestFrameworks.JUnit, "-q", "-v"),
testOptions += Tests.Argument(TestFrameworks.ScalaCheck, "-verbosity", "5"),
scoverage.ScoverageKeys.coverageExcludedPackages := "<empty>;.*Test.*;.*testing.*",
fork := true
)