build.sbt 1.02 KB
Newer Older
1
2
3
name := "chisel-miscutils"

organization := "esa.cs.tu-darmstadt.de"
4

Jens Korinth's avatar
Jens Korinth committed
5
version := "0.4-SNAPSHOT"
6

Jens Korinth's avatar
Jens Korinth committed
7
scalaVersion := "2.11.11"
8

9
10
11
12
13
14
15
16
17
18
19
20
resolvers ++= Seq(
  Resolver.sonatypeRepo("snapshots"),
  Resolver.sonatypeRepo("releases")
)

// Provide a managed dependency on X if -DXVersion="" is supplied on the command line.
val defaultVersions = Map("chisel3"          -> "3.0-SNAPSHOT",
                          "chisel-iotesters" -> "1.1-SNAPSHOT")

libraryDependencies ++= (Seq("chisel3","chisel-iotesters").map {
  dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) })

21
libraryDependencies ++= Seq(
Jens Korinth's avatar
Jens Korinth committed
22
23
24
  "org.scalatest" %% "scalatest" % "3.0.4" % "test",
  "org.scalacheck" %% "scalacheck" % "1.13.5" % "test",
  "com.typesafe.play" %% "play-json" % "2.6.3"
25
)
26

27
// no parallel tests
28
29
30
31
32

parallelExecution in Test := false

testForkedParallel in Test := false

33
34
scalacOptions ++= Seq("-language:implicitConversions", "-language:reflectiveCalls", "-deprecation", "-feature")

Jens Korinth's avatar
Jens Korinth committed
35
36
cleanFiles += baseDirectory.value / "test"