-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
executable file
·40 lines (33 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
37
38
39
import sbt.Keys._
name := "json"
version in Global := "0.1.1-rc1"
description := "JSON <-> Map[String, Any]"
scalaVersion in Global := "2.11.8"
scalacOptions in Global ++= Seq(
"-encoding", "UTF-8",
"-unchecked",
"-deprecation",
"-feature",
"-Xfatal-warnings",
"-Xlint",
"-Yrangepos",
"-language:postfixOps")
lazy val test = Project(
"test",
file("."),
settings = Defaults.coreDefaultSettings ++ Seq(
publishArtifact := false,
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases",
"Artima Maven Repository" at "http://repo.artima.com/releases"
),
libraryDependencies ++= Seq(
"com.storm-enroute" %% "scalameter" % "0.8.1",
"org.scalatest" %% "scalatest" % "3.0.0" % "test"
),
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
parallelExecution in Test := false,
logBuffered := false
)
)