-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
27 lines (20 loc) · 1.23 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
val chiselVersion = System.getProperty("chiselVersion", "latest.release")
lazy val olkSettings = Seq(
organization := "sydney.edu.au",
version := "0.1",
name := "chiselutils",
scalaVersion := "2.11.7",
scalacOptions ++= Seq("-deprecation", "-feature", "-unchecked", "-language:reflectiveCalls"),
resolvers += "typesafe" at "http://repo.typesafe.com/typesafe/releases/",
parallelExecution in Test := false,
libraryDependencies ++= ( if (chiselVersion != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion) :: Nil; else Nil),
libraryDependencies += "com.github.tototoshi" %% "scala-csv" % "1.2.1",
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test",
libraryDependencies += "org.scala-lang" % "scala-compiler" % "2.11.7",
libraryDependencies += "com.typesafe.scala-logging" %% "scala-logging" % "3.1.0",
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.1.2"
)
// lazy val chisel = RootProject(uri("git://github.com/da-steve101/chisel.git"))
lazy val optimus = RootProject(uri("git://github.com/vagm/Optimus.git"))
lazy val chiselutils = (project in file(".")).settings(olkSettings: _*).dependsOn(optimus)