File tree Expand file tree Collapse file tree 1 file changed +20
-8
lines changed
Expand file tree Collapse file tree 1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 11import mill ._ , scalalib ._
2- import ammonite .ops ._
32import java .nio .file .Paths
43
54object chisel extends ScalaModule {
6- def scalaVersion = " 2.12.6 "
5+ def scalaVersion = " 2.13.8 "
76 def scalacOptions = Seq (
8- " -Xsource:2.11" ,
7+ " -language:reflectiveCalls" ,
8+ " -deprecation" ,
9+ " -feature" ,
10+ " -Xcheckinit" ,
11+ " -P:chiselplugin:genBundleElements"
12+ )
13+
14+ def millSourcePath = super .millSourcePath / os.up
15+
16+ override def ivyDeps = Agg (
17+ ivy " edu.berkeley.cs::chisel3:3.5.1 " ,
18+ )
19+
20+ override def scalacPluginIvyDeps = Agg (
21+ ivy " edu.berkeley.cs:::chisel3-plugin:3.5.1 " ,
922 )
10- def millSourcePath = super .millSourcePath / ammonite.ops.up
1123
1224 def unmanagedClasspath = T {
1325 val lib_path = T .ctx.env.get(" MILL_LIB" ) match {
14- case Some (lib) => Path (Paths .get(lib).toAbsolutePath)
26+ case Some (lib) => os. Path (Paths .get(lib).toAbsolutePath)
1527 case None => millSourcePath / " lib"
1628 }
17- if (! ammonite.ops .exists(lib_path)) Agg ()
18- else Agg .from(ammonite.ops.ls (lib_path).map(PathRef (_)))
29+ if (! os .exists(lib_path)) Agg ()
30+ else Agg .from(os.list (lib_path).map(PathRef (_)))
1931 }
20- }
32+ }
You can’t perform that action at this time.
0 commit comments