-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
49 lines (36 loc) · 1.35 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
40
41
42
43
44
45
46
47
48
49
//import AssemblyKeys._
//assemblySettings
//mainClass in assembly := Some("lms.parsing.Bla")
name := "experiments"
scalaOrganization := "org.scala-lang.virtualized"
scalaVersion := "2.10.2"
resolvers ++= Seq(
//ScalaToolsSnapshots, //needed for custom build of scala test
"ScalaTest" at "https://oss.sonatype.org/content/groups/public",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"spray" at "http://repo.spray.io/"
)
libraryDependencies ++= Seq(
"EPFL" %% "lms" % "0.3-SNAPSHOT",
//"org.scala-lang" % "scala-actors" % "2.10.0", // for ScalaTest
"org.scalatest" %% "scalatest" % "2.0.RC3" % "test",
//"org.scalatest" % "scalatest_2.10.0" % "2.0.M5" % "test"
"commons-codec" % "commons-codec" % "1.6",
"com.github.axel22" % "scalameter_2.10" % "0.5-SNAPSHOT" % "test",
"io.spray" %% "spray-json" % "1.2.5"
)
autoCompilerPlugins := true
addCompilerPlugin("org.scala-lang.virtualized.plugins" % "continuations" % "2.10.2")
scalacOptions ++= Seq(
"-Yvirtualize",
"-P:continuations:enable",
"-optimize"//,
//"-deprecation",
//"-feature",
//"-Yinline-warnings"
)
// Our tests are not threadsafe so disabling parallel execution for now
parallelExecution in Test := false
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
//avoid testing during assembly
//test in assembly := {}