-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
24 lines (23 loc) · 977 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
// define some common build settings used by core API as well as the various testing configurations
lazy val commonSettings = Seq(
scalaVersion := "2.12.2",
name := "esl-core",
version := "0.1.0-SNAPSHOT",
organization := "org.economicsl",
organizationName := "EconomicSL",
organizationHomepage := Some(url("https://economicsl.github.io/")),
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.6.6",
"org.scalactic" %% "scalactic" % "3.0.1"
),
scalacOptions ++= Seq(
"-deprecation", // issue warning if we use any deprecated API features
"-feature", // tells the compiler to provide information about misused language features
"-language:implicitConversions", // eliminates the need to import implicit conversions for each usage
"-Xlint",
"-Ywarn-unused-import",
"-Ywarn-dead-code"
)
)
// finally define the full project build settings
lazy val core = (project in file(".")).settings(commonSettings: _*)