-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
24 lines (16 loc) · 866 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
name := "units-of-measure"
version := "0.1"
// LMS requires scala 2.11(.2?), not 2.12
scalaVersion := "2.11.2"
libraryDependencies += "org.scalatest" % "scalatest_2.11" % "3.0.5" % "test"
initialCommands in console := "import uk.ac.cam.jaw89.metaprogramming.units_of_measure._; import uk.ac.cam.jaw89.metaprogramming.units_of_measure.SI._"
scalacOptions += "-feature"
scalacOptions += "-deprecation"
// LMS
scalaOrganization := "org.scala-lang.virtualized"
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies += "org.scala-lang.lms" %% "lms-core" % "1.0.0-SNAPSHOT"
libraryDependencies += "org.scala-lang.virtualized" % "scala-compiler" % "2.11.2"
libraryDependencies += "org.scala-lang.virtualized" % "scala-library" % "2.11.2"
libraryDependencies += "org.scala-lang.virtualized" % "scala-reflect" % "2.11.2"
scalacOptions += "-Yvirtualize"