-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
26 lines (22 loc) · 875 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
name := "spinalhdl-sidechannel"
organization := "com.github.spinalhdl"
version := "0.2"
scalaVersion := "2.11.12"
lazy val externalLibs = project in file("lib")
libraryDependencies ++= Seq(
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "1.4.0",
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "1.4.0",
"com.github.spinalhdl" % "spinalhdl-asg_2.11" % "0.1",
"org.scalatest" % "scalatest_2.11" % "2.2.1",
compilerPlugin("com.github.spinalhdl" % "spinalhdl-idsl-plugin_2.11" % "1.4.0")
)
lazy val root = (project in file(".")).
enablePlugins(BuildInfoPlugin).
settings(
buildInfoKeys ++= Seq[BuildInfoKey](
BuildInfoKey.map(name) { case (k, v) => "project" + k.capitalize -> v.capitalize },
"externalLibs" -> s"${baseDirectory.in(externalLibs).value.getAbsolutePath}"
),
buildInfoPackage := "spinal.lib.sidechannel"
)
fork := true