aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJakob Odersky <jakob@driver.xyz>2017-11-08 18:28:43 -0800
committerJakob Odersky <jakob@driver.xyz>2017-11-08 18:30:05 -0800
commit574cda580870d21de506eecf0ac9dd25bdc4be72 (patch)
tree9c5d7e27ea5c05fa6e12c2ddfc0a1f302b8d9030 /build.sbt
parent1a172285403e77658db9d0331a5b7235946b90eb (diff)
downloadrest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.tar.gz
rest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.tar.bz2
rest-query-574cda580870d21de506eecf0ac9dd25bdc4be72.zip
Upgrade sbt settings and support Scala 2.12v0.14.0
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt9
1 files changed, 3 insertions, 6 deletions
diff --git a/build.sbt b/build.sbt
index f726690..2cccdb4 100644
--- a/build.sbt
+++ b/build.sbt
@@ -3,14 +3,12 @@ import Keys._
lazy val core = (project in file("."))
.driverLibrary("pds-ui-common")
- .settings(scalastyleSettings ++ wartRemoverSettings ++ formatSettings)
- .settings(wartremoverErrors in (Compile, compile) --= Seq(
- Wart.ImplicitConversion, Wart.MutableDataStructures, Wart.TraversableOps, Wart.OptionPartial))
+ .settings(lintingSettings)
+ .settings(scalacOptions -= "-Xfatal-warnings") // this is needed to ignore unused implicits that are actually used in scala 2.11
.settings(sources in (Compile, doc) := Seq.empty, publishArtifact in (Compile, packageDoc) := false)
.settings(libraryDependencies ++= Seq(
- "com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.8.3",
"com.github.pureconfig" %% "pureconfig" % "0.7.2",
- "com.lihaoyi" %% "fastparse" % "0.3.7",
+ "com.lihaoyi" %% "fastparse" % "1.0.0",
"com.typesafe.akka" %% "akka-http" % "10.0.10",
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"io.getquill" %% "quill-jdbc" % "1.2.1",
@@ -25,7 +23,6 @@ lazy val core = (project in file("."))
"com.typesafe" % "config" % "1.3.0",
"org.asynchttpclient" % "async-http-client" % "2.0.24",
"org.slf4j" % "slf4j-api" % "1.7.21",
- "ai.x" %% "diff" % "1.2.0-get-simple-name-fix" % "test",
"org.scalacheck" %% "scalacheck" % "1.13.4" % "test",
"org.scalatest" %% "scalatest" % "3.0.1" % "test"
))