mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 23:58:44 +08:00
17 lines
614 B
Scala
17 lines
614 B
Scala
ThisBuild / version := "1.0"
|
|
ThisBuild / scalaVersion := "2.13.14"
|
|
ThisBuild / organization := "org.example"
|
|
|
|
val spinalVersion = "1.10.2a"
|
|
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
|
|
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
|
|
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
|
|
|
|
lazy val projectname = (project in file("."))
|
|
.settings(
|
|
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
|
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
|
)
|
|
|
|
fork := true
|