Files
SpinalTemplateSbt/build.sc
2024-09-02 17:50:22 +08:00

17 lines
481 B
Scala

import mill._, scalalib._
val spinalVersion = "1.10.2a"
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")
}