diff options
author | Jon Pretty <jon.pretty@propensive.com> | 2018-02-08 21:37:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 21:37:16 +0000 |
commit | b562503348bc36bba09bc5df9a8d846d9bf80912 (patch) | |
tree | e867d326898b1e7d0019753728b921c3a160167c /build.sbt | |
parent | 4fe64bd5ba7bdc1ea0e29923b27463c62a3c4052 (diff) | |
parent | c1b9c1f53a6bb3f62abc7141e6b6153d8208e1f0 (diff) | |
download | magnolia-b562503348bc36bba09bc5df9a8d846d9bf80912.tar.gz magnolia-b562503348bc36bba09bc5df9a8d846d9bf80912.tar.bz2 magnolia-b562503348bc36bba09bc5df9a8d846d9bf80912.zip |
Merge pull request #74 from kevinwright/feature/attribs-on-params
Feature/attribs on params
Diffstat (limited to 'build.sbt')
-rw-r--r-- | build.sbt | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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) |