mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 23:58:44 +08:00
add support for Mill
This commit is contained in:
13
build.sc
Normal file
13
build.sc
Normal file
@@ -0,0 +1,13 @@
|
||||
import mill._, scalalib._
|
||||
|
||||
val spinalVersion = "1.4.3"
|
||||
|
||||
object mylib extends SbtModule {
|
||||
def scalaVersion = "2.12.14"
|
||||
override def millSourcePath = os.pwd
|
||||
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")
|
||||
}
|
Reference in New Issue
Block a user