-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
29 lines (26 loc) · 967 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
val spinalVersion = "1.10.2a"
lazy val root = (project in file("."))
.settings(
name := "I2C Gpio Expander",
inThisBuild(
List(
organization := "com.github.spinalhdl",
scalaVersion := "2.12.18",
version := "1.0.0"
)
),
libraryDependencies ++= Seq(
"com.github.spinalhdl" % "spinalhdl-core_2.12" % spinalVersion,
"com.github.spinalhdl" % "spinalhdl-lib_2.12" % spinalVersion,
compilerPlugin("com.github.spinalhdl" % "spinalhdl-idsl-plugin_2.12" % spinalVersion),
"org.scalatest" %% "scalatest" % "3.2.5",
"org.yaml" % "snakeyaml" % "1.8"
),
Compile / scalaSource := baseDirectory.value / "hardware" / "scala",
Test / scalaSource := baseDirectory.value / "test" / "scala"
)
.dependsOn(nafarr, zibal)
lazy val nafarr = RootProject(file("modules/elements/nafarr/"))
lazy val zibal = RootProject(file("modules/elements/zibal/"))
run / connectInput := true
fork := true