mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 23:58:44 +08:00
17 lines
480 B
Scala
17 lines
480 B
Scala
import mill._, scalalib._
|
|
|
|
val spinalVersion = "1.12.0"
|
|
|
|
object projectname extends SbtModule {
|
|
def scalaVersion = "2.13.14"
|
|
override def millSourcePath = os.pwd
|
|
def sources = T.sources(
|
|
millSourcePath / "hw" / "spinal"
|
|
)
|
|
def ivyDeps = Agg(
|
|
ivy"com.github.spinalhdl::spinalhdl-core:$spinalVersion",
|
|
ivy"com.github.spinalhdl::spinalhdl-lib:$spinalVersion"
|
|
)
|
|
def scalacPluginIvyDeps = Agg(ivy"com.github.spinalhdl::spinalhdl-idsl-plugin:$spinalVersion")
|
|
}
|