-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
25 lines (19 loc) · 953 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
name := "SelX"
version := "0.1.0"
scalaVersion := "2.12.8"
enablePlugins(JmhPlugin)
sourceDirectory in Jmh := (sourceDirectory in Test).value
classDirectory in Jmh := (classDirectory in Test).value
dependencyClasspath in Jmh := (dependencyClasspath in Test).value
compile in Jmh := (compile in Jmh).dependsOn(compile in Test).value // rewire tasks, so that 'jmh:run' automatically invokes 'jmh:compile' (otherwise a clean 'jmh:run' would fail)
run in Jmh := (run in Jmh).dependsOn(Keys.compile in Jmh).evaluated
libraryDependencies ++= Seq(
"com.lihaoyi" %% "utest" % "0.6.6" % "test",
"org.scalanlp" %% "breeze" % "0.13.2" % "test",
"org.scalanlp" %% "breeze-natives" % "0.13.2" % "test"
)
testFrameworks += new TestFramework("utest.runner.Framework")
scalacOptions ++= Seq(
// "-opt:l:inline",
// "-opt-inline-from:**"
)