Commit 2a928295 authored by Arthur Bit-Monnot's avatar Arthur Bit-Monnot

Add scalafix plugin

parent bb19c174
name := "dahu"
scalafixSettings
lazy val commonSettings = Seq(
organization := "com.github.arthur-bit-monnot",
scalaVersion := "2.12.6",
scalaVersion := "2.12.4",
crossPaths := true,
// To sync with Maven central
publishMavenStyle := true,
......@@ -33,11 +35,10 @@ lazy val commonSettings = Seq(
"-feature",
"-language:higherKinds",
"-language:existentials",
// experimental option to speed up the build
"-Ycache-plugin-class-loader:last-modified",
"-Ycache-macro-class-loader:last-modified",
"-Ybackend-parallelism",
"3"
// experimental option to speed up the build require 2.12.5
// "-Ycache-plugin-class-loader:last-modified",
// "-Ycache-macro-class-loader:last-modified",
// "-Ybackend-parallelism", "3"
// "-opt:simplify-jumps",
// "-opt:compact-locals",
// "-opt:copy-propagation",
......@@ -57,7 +58,7 @@ lazy val root = project
.in(file("."))
.aggregate(utils, recursion, model, solvers, benchmarks, anml)
.settings(
scalaVersion := "2.12.6",
scalaVersion := "2.12.4",
publish := {},
publishLocal := {}
)
......
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "2.1.0")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
\ No newline at end of file
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.5.10")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment