-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
30 lines (21 loc) · 814 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
26
27
28
29
30
name := "chisel-packaging"
organization := "esa.cs.tu-darmstadt.de"
version := "0.4-SNAPSHOT"
scalaVersion := "2.12.4"
unmanagedResources in Compile ++= Seq(
baseDirectory.value / "package.py",
baseDirectory.value / "axi4.py"
)
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.2",
"chisel-iotesters" -> "1.1.2")
libraryDependencies ++= (Seq("chisel3","chisel-iotesters").map {
dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) })
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-json" % "2.6.9"
)
scalacOptions += "-feature"