mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 07:38:44 +08:00
18 lines
639 B
Scala
18 lines
639 B
Scala
ThisBuild / version := "1.0"
|
|
ThisBuild / scalaVersion := "2.13.14"
|
|
ThisBuild / organization := "org.example"
|
|
|
|
val spinalVersion = "1.12.3"
|
|
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(
|
|
name := "myproject",
|
|
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
|
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
|
)
|
|
|
|
fork := true
|