-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (29 loc) · 1.17 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
resolvers += Resolver.sonatypeRepo("releases")
import sbt.Keys._
lazy val root = project in file(".") settings(
name := "visum",
version := "1.0",
scalaVersion := "2.11.6",
autoCompilerPlugins := true,
scalacOptions += "-optimise",
scalacOptions += "-Yclosure-elim",
scalacOptions += "-Yinline",
scalacOptions += "-Ybackend:GenBCode",
scalacOptions += "-Xexperimental",
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0-M5" cross CrossVersion.full),
scalacOptions += "-Xplugin-require:macroparadise",
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test") dependsOn macros
lazy val macros = project in file("macros") settings(
name := "visum-macros",
version := "1.0",
scalaVersion := "2.11.6",
autoCompilerPlugins := true,
scalacOptions += "-optimise",
scalacOptions += "-Yclosure-elim",
scalacOptions += "-Yinline",
scalacOptions += "-Ybackend:GenBCode",
scalacOptions += "-Xexperimental",
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0-M5" cross CrossVersion.full),
scalacOptions += "-Xplugin-require:macroparadise",
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
)