Skip to content

Commit

Permalink
build: rename build.sc to build.mill according to mill-0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
zhutmost committed Dec 14, 2024
1 parent 08a509c commit 967c5a9
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions build.sc → build.mill
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
package build

import mill._
import scalalib._
import scalafmt._
import publish._
import mill.scalalib._
import mill.scalalib.publish._
import mill.scalalib.scalafmt._

object Dependencies {
val scalaVersion = "2.13.15"
Expand All @@ -16,18 +18,15 @@ object Dependencies {
trait CommonModule extends ScalaModule with ScalafmtModule {
override def scalaVersion = Dependencies.scalaVersion

override def scalacOptions = T {
super.scalacOptions() ++
Agg(
"-deprecation",
"-feature",
"-Xcheckinit",
"-Xfatal-warnings",
"-language:existentials",
"-language:higherKinds",
"-language:reflectiveCalls" // Required by Chisel
)
}
override def scalacOptions = super.scalacOptions() ++ Seq(
"-deprecation",
"-feature",
"-Xcheckinit",
"-Xfatal-warnings",
"-language:existentials",
"-language:higherKinds",
"-language:reflectiveCalls" // Required by Chisel
)

override def ivyDeps = Agg(Dependencies.chisel)
override def scalacPluginIvyDeps = Agg(Dependencies.chiselPlugin)
Expand Down

0 comments on commit 967c5a9

Please sign in to comment.