aboutsummaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt11
1 files changed, 8 insertions, 3 deletions
diff --git a/build.sbt b/build.sbt
index 178ac83..50ec53d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -27,13 +27,20 @@ lazy val tests = project
.settings(moduleName := "magnolia-tests")
.settings(
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
+ initialCommands in console := """import magnolia.tests._; import magnolia.examples._;""",
libraryDependencies ++= Seq(
"com.fommil" %% "deriving-macro" % "0.9.0",
- "com.fommil" %% "scalaz-deriving" % "0.9.0"
+ // These two to allow compilation under Java 9...
+ // Specifically to import XML stuff that got modularised
+ "javax.xml.bind" % "jaxb-api" % "2.3.0" % "compile",
+ "com.sun.xml.bind" % "jaxb-impl" % "2.3.0" % "compile"
)
)
.dependsOn(examplesJVM)
+
+
+
lazy val benchmarks = project
.in(file("benchmarks"))
.settings(buildSettings: _*)
@@ -88,8 +95,6 @@ lazy val publishSettings = Seq(
)
)
-import java.io.File
-
lazy val unmanagedSettings = unmanagedBase := (scalaVersion.value
.split("\\.")
.map(_.toInt)